C# Класс Sharplike.Core.Rendering.DisplayTile

A single tile in the render window. Should never be created by an end user (but there may be edge cases that make it necessary).
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MakeRenderDirty ( ) : void

Signals to the tile that it should be repainted even if it has not changed since the last repaint.

Generally should only be used through Window.Invalidate().

MakeStackDirty ( ) : void

Signals to the tile that it should rebuild it's RegionTile stack.

Generally should only be used through Window.Invalidate().

MarkRenderClean ( ) : void

Signals to the tile that it shall be considered non-dirty until the tile is again updated.

Should only be called by the renderer, but maybe there's a case for an end user to call it, I don't know.

MarkStackClean ( ) : void

Signals to the tile that it's stack is now clean.

Приватные методы

Метод Описание
DisplayTile ( GlyphPalette p, AbstractRegion root, Point loc ) : System

Constructor.

RebuildRegionTiles ( ) : void

Rebuilds our cached list of regiontiles that affect this displaytile

Описание методов

MakeRenderDirty() публичный Метод

Signals to the tile that it should be repainted even if it has not changed since the last repaint.
Generally should only be used through Window.Invalidate().
public MakeRenderDirty ( ) : void
Результат void

MakeStackDirty() публичный Метод

Signals to the tile that it should rebuild it's RegionTile stack.
Generally should only be used through Window.Invalidate().
public MakeStackDirty ( ) : void
Результат void

MarkRenderClean() публичный Метод

Signals to the tile that it shall be considered non-dirty until the tile is again updated.
Should only be called by the renderer, but maybe there's a case for an end user to call it, I don't know.
public MarkRenderClean ( ) : void
Результат void

MarkStackClean() публичный Метод

Signals to the tile that it's stack is now clean.
public MarkStackClean ( ) : void
Результат void