Property | Type | Description | |
---|---|---|---|
DataFolder | string |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Draw ( RenderTarget target, |
||
Get ( int x, int y ) : |
||
PaletteGet ( byte index ) : System.Color |
Gets a color from the display's palette.
|
|
PaletteSet ( byte index, System.Color color ) : void |
Sets a color in the display's palette.
|
|
Set ( int x, int y, |
||
TextDisplay ( uint width, uint height, string fontFile = "font.png", bool convertFont = true, string paletteFile = "palette.png" ) : System |
Constructs a text display.
|
public Draw ( RenderTarget target, |
||
target | RenderTarget | |
states | ||
return | void |
public PaletteGet ( byte index ) : System.Color | ||
index | byte | |
return | System.Color |
public PaletteSet ( byte index, System.Color color ) : void | ||
index | byte | |
color | System.Color | |
return | void |
public Set ( int x, int y, |
||
x | int | |
y | int | |
character | ||
useBlending | bool | |
return | void |
public TextDisplay ( uint width, uint height, string fontFile = "font.png", bool convertFont = true, string paletteFile = "palette.png" ) : System | ||
width | uint | Width in characters |
height | uint | Height in characters |
fontFile | string | Font texture |
convertFont | bool | Enable support for masked fonts |
paletteFile | string | Palette texture |
return | System |