C# 클래스 RAGENativeUI.Elements.Sprite

파일 보기 프로젝트 열기: alexguirre/RAGENativeUI 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Color Color
Heading float
Position Point
Size System.Drawing.Size
TextureName string
Visible bool

Private Properties

프로퍼티 타입 설명
DrawTexture void
LoadTextureDict void
WriteFileFromResources string
WriteFileFromResources string

공개 메소드들

메소드 설명
Draw ( ) : void

Draws the sprite on a 1080-pixels height base.

DrawTexture ( Texture texture, Point position, Size size, Rage graphics ) : void

Draws a custom texture from a file on a 1080-pixels height base.

LoadTextureDictionary ( ) : void
Sprite ( string textureDict, string textureName, Point position, Size size ) : System

Creates a game sprite object from a texture dictionary and texture name.

Sprite ( string textureDict, string textureName, Point position, Size size, float heading, Color color ) : System

Creates a game sprite object from a texture dictionary and texture name.

비공개 메소드들

메소드 설명
DrawTexture ( Texture texture, Point position, Size size, GraphicsEventArgs canvas ) : void
LoadTextureDict ( ) : void
WriteFileFromResources ( Assembly yourAssembly, string fullResourceName ) : string
WriteFileFromResources ( Assembly yourAssembly, string fullResourceName, string savePath ) : string

메소드 상세

Draw() 공개 메소드

Draws the sprite on a 1080-pixels height base.
public Draw ( ) : void
리턴 void

DrawTexture() 공개 정적인 메소드

Draws a custom texture from a file on a 1080-pixels height base.
public static DrawTexture ( Texture texture, Point position, Size size, Rage graphics ) : void
texture Texture Your custom texture object.
position Point
size System.Drawing.Size
graphics Rage
리턴 void

LoadTextureDictionary() 공개 메소드

public LoadTextureDictionary ( ) : void
리턴 void

Sprite() 공개 메소드

Creates a game sprite object from a texture dictionary and texture name.
public Sprite ( string textureDict, string textureName, Point position, Size size ) : System
textureDict string
textureName string
position Point
size System.Drawing.Size
리턴 System

Sprite() 공개 메소드

Creates a game sprite object from a texture dictionary and texture name.
public Sprite ( string textureDict, string textureName, Point position, Size size, float heading, Color color ) : System
textureDict string
textureName string
position Point
size System.Drawing.Size
heading float
color Color
리턴 System

프로퍼티 상세

Color 공개적으로 프로퍼티

public Color Color
리턴 Color

Heading 공개적으로 프로퍼티

public float Heading
리턴 float

Position 공개적으로 프로퍼티

public Point Position
리턴 Point

Size 공개적으로 프로퍼티

public Size,System.Drawing Size
리턴 System.Drawing.Size

TextureName 공개적으로 프로퍼티

public string TextureName
리턴 string

Visible 공개적으로 프로퍼티

public bool Visible
리턴 bool