C# 클래스 EmptyKeys.UserInterface.Media.XenkoTexture

상속: TextureBase
파일 보기 프로젝트 열기: EmptyKeys/UI_Engines 1 사용 예제들

공개 메소드들

메소드 설명
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

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.

비공개 메소드들

메소드 설명
GetEndStop ( float offset, List stops, GradientSpreadMethod spreadMethod ) : GradientStop
GetLength ( PointF start, PointF end ) : float
GetStartStop ( float offset, List stops ) : GradientStop
ProjectToLine ( PointF lineStart, PointF lineEnd, PointF toProject, int width ) : PointF

메소드 상세

Dispose() 공개 메소드

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

GenerateArrow() 공개 메소드

Generates the arrow.
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.
리턴 void

GenerateCheckbox() 공개 메소드

Generates the check box texture content
public GenerateCheckbox ( ) : void
리턴 void

GenerateLinearGradient() 공개 메소드

Generates the linear gradient texture content
public 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].
리턴 void

GenerateOneToOne() 공개 메소드

Generates the one to one white texture
public GenerateOneToOne ( ) : void
리턴 void

GenerateSolidColor() 공개 메소드

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

GetNativeTexture() 공개 메소드

Gets the native texture.
public GetNativeTexture ( ) : object
리턴 object

SetColorData() 공개 메소드

Sets the color data.
Wrong data size
public SetColorData ( uint data ) : void
data uint The data.
리턴 void

XenkoTexture() 공개 메소드

Initializes a new instance of the MonoGameTexture class.
public XenkoTexture ( object nativeTexture ) : System
nativeTexture object The native texture.
리턴 System