Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
GenerateArrow ( ArrowDirection direction, int startX, int lineSize ) : void |
Generates the arrow.
|
|
GenerateCheckbox ( ) : void |
Generates the check box texture content
|
|
GenerateLinearGradient ( PointF lineStart, PointF lineEnd, Thickness borderThickness, List |
Generates the linear gradient texture content
|
|
GenerateOneToOne ( ) : void |
Generates the one to one white texture
|
|
GenerateSolidColor ( Thickness borderThickness, bool isBorder ) : void |
Generates the solid color texture content
|
|
GetNativeTexture ( ) : object |
Gets the native texture.
|
|
SetColorData ( uint data ) : void |
Sets the color data.
|
|
XenkoTexture ( object nativeTexture ) : System |
Initializes a new instance of the MonoGameTexture class.
|
Method | Description | |
---|---|---|
GetEndStop ( float offset, List |
||
GetLength ( PointF start, PointF end ) : float | ||
GetStartStop ( float offset, List |
||
ProjectToLine ( PointF lineStart, PointF lineEnd, PointF toProject, int width ) : PointF |
public GenerateArrow ( ArrowDirection direction, int startX, int lineSize ) : void | ||
direction | ArrowDirection | The direction. |
startX | int | The start x point |
lineSize | int | Size of the line. |
return | void |
public GenerateLinearGradient ( PointF lineStart, PointF lineEnd, Thickness borderThickness, List |
||
lineStart | PointF | The line start. |
lineEnd | PointF | The line end. |
borderThickness | Thickness | The border thickness. |
sortedStops | List |
The sorted stops. |
spread | GradientSpreadMethod | The spread. |
isBorder | bool | if set to |
return | void |
public GenerateSolidColor ( Thickness borderThickness, bool isBorder ) : void | ||
borderThickness | Thickness | The border thickness. |
isBorder | bool | if set to |
return | void |
public SetColorData ( uint data ) : void | ||
data | uint | The data. |
return | void |
public XenkoTexture ( object nativeTexture ) : System | ||
nativeTexture | object | The native texture. |
return | System |