C# Class EmptyKeys.UserInterface.Media.TextureBase

Implements abstract multi-render texture
Inheritance: IDisposable
Mostrar archivo Open project: EmptyKeys/UI_Engines Class Usage Examples

Public Methods

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 sortedStops, GradientSpreadMethod spread, bool isBorder ) : void

Generates the linear gradient texture content

GenerateOneToOne ( ) : void

Generates the one to one white texture content

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.

TextureBase ( object nativeTexture ) : System

Initializes a new instance of the TextureBase class.

Method Details

Dispose() public abstract method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public abstract Dispose ( ) : void
return void

GenerateArrow() public abstract method

Generates the arrow.
public abstract 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

GenerateCheckbox() public abstract method

Generates the check box texture content
public abstract GenerateCheckbox ( ) : void
return void

GenerateLinearGradient() public abstract method

Generates the linear gradient texture content
public abstract GenerateLinearGradient ( PointF lineStart, PointF lineEnd, Thickness borderThickness, List sortedStops, GradientSpreadMethod spread, bool isBorder ) : void
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 true [is border].
return void

GenerateOneToOne() public abstract method

Generates the one to one white texture content
public abstract GenerateOneToOne ( ) : void
return void

GenerateSolidColor() public abstract method

Generates the solid color texture content
public abstract GenerateSolidColor ( Thickness borderThickness, bool isBorder ) : void
borderThickness Thickness The border thickness.
isBorder bool if set to true [is border].
return void

GetNativeTexture() public abstract method

Gets the native texture.
public abstract GetNativeTexture ( ) : object
return object

SetColorData() public abstract method

Sets the color data.
public abstract SetColorData ( uint data ) : void
data uint The data.
return void

TextureBase() public method

Initializes a new instance of the TextureBase class.
public TextureBase ( object nativeTexture ) : System
nativeTexture object The native texture.
return System