Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
Cell ( ) : System.Runtime.Serialization | ||
Copy ( |
Copies this cells information to a new cell. Preserves appearance, Actual* properties, and glyph information.
|
|
CopyAppearanceTo ( ICellAppearance destination ) : void |
Applies this appearance instance values to the destination appearance.
|
|
OnCreated ( ) : void |
This should be called by anything creating and configuring a cell on the console. Configure the cell (foreground, background, index etc) and then call this.
|
|
Render ( |
Draws a single cell using the specified SpriteBatch.
|
|
Render ( |
Draws a single cell using the specified SpriteBatch.
|
|
Reset ( ) : void |
Resets this cell with default values.
|
|
ToString ( ) : string |
Returns a string representing the Actual* property values.
|
|
UpdateAndApplyEffect ( double elapsedTime ) : void |
Updates and applies the P:SadConsole.Cell.Effect to this cell. WARNING: Do not use with TextSurface. This should only be called when the cell has a standalone effect that isn't managed by the TextSurface.
|
public Cell ( ) : System.Runtime.Serialization | ||
Résultat | System.Runtime.Serialization |
public Copy ( |
||
destination | The cell to copy to. | |
Résultat | void |
public CopyAppearanceTo ( ICellAppearance destination ) : void | ||
destination | ICellAppearance | The target of the appearance copy. |
Résultat | void |
public Render ( |
||
batch | Rendering batch. | |
position | Pixel position on the screen to render. | |
size | Rendering size of the cell. | |
font | Font used to draw the cell. | |
Résultat | void |
public Render ( |
||
batch | Rendering batch. | |
drawingRectangle | Where on the sreen to draw the cell, in pixels. | |
font | Font used to draw the cell. | |
Résultat | void |
public UpdateAndApplyEffect ( double elapsedTime ) : void | ||
elapsedTime | double | |
Résultat | void |