Свойство | Type | Description | |
---|---|---|---|
cells | Cell[] | ||
renderArea | |||
renderRects | Microsoft.Xna.Framework.Rectangle[] |
Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
Hydrate ( ITextSurfaceRendered surface ) : void |
Call after the TextSurfaceView is deserialized to hook it back up to the original surface.
|
|
Hydrate ( ITextSurfaceRendered surface, |
Call after the TextSurfaceView is deserialized to hook it back up to the original surface.
|
|
Load ( string file, ITextSurfaceRendered surfaceHydrate ) : |
Loads a TextSurfaceView from a file and existing ITextSurfaceRendered.
|
|
Save ( string file ) : void |
Saves the serialized TextSurfaceView to a file.
|
|
TextSurfaceView ( ITextSurfaceRendered surface, |
Creates a new surface view from an existing surface.
|
|
this ( int index ) : Cell |
Gets a cell by index.
|
|
this ( int x, int y ) : Cell |
Gets a cell based on its coordinates on the surface.
|
Méthode | Description | |
---|---|---|
ResetArea ( ) : void |
Keeps the text view data in sync with this surface.
|
public Hydrate ( ITextSurfaceRendered surface ) : void | ||
surface | ITextSurfaceRendered | The surface to associate with the view. |
Résultat | void |
public Hydrate ( ITextSurfaceRendered surface, |
||
surface | ITextSurfaceRendered | The surface to associate with the view. |
view | The sub view of the |
|
Résultat | void |
public static Load ( string file, ITextSurfaceRendered surfaceHydrate ) : |
||
file | string | The source file. |
surfaceHydrate | ITextSurfaceRendered | The surface this view was originally from. |
Résultat |
public Save ( string file ) : void | ||
file | string | The destination file. |
Résultat | void |
public TextSurfaceView ( ITextSurfaceRendered surface, |
||
surface | ITextSurfaceRendered | The source cell data. |
area | The area of the text surface. | |
Résultat | System |
public this ( int index ) : Cell | ||
index | int | The index of the cell. |
Résultat | Cell |
public this ( int x, int y ) : Cell | ||
x | int | The X coordinate. |
y | int | The Y coordinate. |
Résultat | Cell |
protected Rectangle,Microsoft.Xna.Framework renderArea | ||
Résultat |