C# 클래스 Ensage.Common.Menu.MenuUtils

The user interface utils class.
파일 보기 프로젝트 열기: EnsageSharp/Ensage.Common 1 사용 예제들

공개 메소드들

메소드 설명
DrawBox ( float x, float y, float w, float h, float linewidth, Color color ) : void

Draws a Box

DrawBoxBordered ( float x, float y, float w, float h, float borderWidth, Color color, Color colorBorder ) : void

Draws a bordered Box

DrawBoxBordered ( float x, float y, float w, float h, float borderWidth, DotaTexture texture, Color colorBorder ) : void
DrawBoxFilled ( float x, float y, float w, float h, Color color ) : void

Draws a filled Box

DrawLine ( float xa, float ya, float xb, float yb, float dwWidth, Color color ) : void

Draws a line from X to Y with a width and a color

RoundedRectangle ( System.Vector2 position, System.Vector2 size, Color color ) : void

The rounded rectangle.

RoundedRectangle ( float x, int y, int w, int h, int iSmooth, Color color ) : void

Draws a rounded Rectangle

비공개 메소드들

메소드 설명
MainMenuDraw ( Menu menu, double add ) : void

The main menu draw.

메소드 상세

DrawBox() 공개 정적인 메소드

Draws a Box
public static DrawBox ( float x, float y, float w, float h, float linewidth, Color color ) : void
x float Position X
y float Position Y
w float Width
h float Height
linewidth float Line Width
color Color Color
리턴 void

DrawBoxBordered() 공개 정적인 메소드

Draws a bordered Box
public static DrawBoxBordered ( float x, float y, float w, float h, float borderWidth, Color color, Color colorBorder ) : void
x float Position X
y float Position Y
w float Width
h float Height
borderWidth float The border width
color Color Color
colorBorder Color Border Color
리턴 void

DrawBoxBordered() 공개 정적인 메소드

public static DrawBoxBordered ( float x, float y, float w, float h, float borderWidth, DotaTexture texture, Color colorBorder ) : void
x float
y float
w float
h float
borderWidth float
texture DotaTexture
colorBorder Color
리턴 void

DrawBoxFilled() 공개 정적인 메소드

Draws a filled Box
public static DrawBoxFilled ( float x, float y, float w, float h, Color color ) : void
x float Position X
y float Position Y
w float Width
h float Height
color Color Color
리턴 void

DrawLine() 공개 정적인 메소드

Draws a line from X to Y with a width and a color
public static DrawLine ( float xa, float ya, float xb, float yb, float dwWidth, Color color ) : void
xa float Position X1
ya float Position Y1
xb float Position X2
yb float Position Y2
dwWidth float Width
color Color Color
리턴 void

RoundedRectangle() 공개 정적인 메소드

The rounded rectangle.
public static RoundedRectangle ( System.Vector2 position, System.Vector2 size, Color color ) : void
position System.Vector2 /// The position. ///
size System.Vector2 /// The size. ///
color Color /// The color. ///
리턴 void

RoundedRectangle() 공개 정적인 메소드

Draws a rounded Rectangle
public static RoundedRectangle ( float x, int y, int w, int h, int iSmooth, Color color ) : void
x float Position X
y int Position Y
w int Width
h int Height
iSmooth int Smooth
color Color Color
리턴 void