C# 클래스 DrawUtils, TestMeApp

상속: MonoBehaviour
파일 보기 프로젝트 열기: Hli4S/TestMeApp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BGTexture string

공개 메소드들

메소드 설명
CodeToImage ( string Code ) : Image,
ColorFromHex ( string Hex ) : Color
DrawText ( Graphics G, Rectangle, ContRect, string Text, Font TFont, HorizontalAlignment, TAlign, Color TColor ) : void
DrawTextWithShadow ( Graphics G, Rectangle, ContRect, string Text, Font TFont, HorizontalAlignment, TAlign, Color TColor, Color BColor ) : void
FillDualGradPath ( Graphics g, Color Col1, Color Col2, Rectangle, rect, GraphicsPath, gp, GradientAlignment align ) : void
FillGradientBeam ( Graphics g, Color Col1, Color Col2, Rectangle, rect, GradientAlignment align ) : void
RoundRect ( Rectangle, Rectangle, int Curve ) : GraphicsPath,
RoundedTopRect ( Rectangle, Rectangle, int Curve ) : GraphicsPath,

메소드 상세

CodeToImage() 공개 메소드

public CodeToImage ( string Code ) : Image,
Code string
리턴 Image,

ColorFromHex() 공개 메소드

public ColorFromHex ( string Hex ) : Color
Hex string
리턴 Color

DrawText() 공개 메소드

public DrawText ( Graphics G, Rectangle, ContRect, string Text, Font TFont, HorizontalAlignment, TAlign, Color TColor ) : void
G Graphics
ContRect Rectangle,
Text string
TFont Font
TAlign HorizontalAlignment,
TColor Color
리턴 void

DrawTextWithShadow() 공개 메소드

public DrawTextWithShadow ( Graphics G, Rectangle, ContRect, string Text, Font TFont, HorizontalAlignment, TAlign, Color TColor, Color BColor ) : void
G Graphics
ContRect Rectangle,
Text string
TFont Font
TAlign HorizontalAlignment,
TColor Color
BColor Color
리턴 void

FillDualGradPath() 공개 메소드

public FillDualGradPath ( Graphics g, Color Col1, Color Col2, Rectangle, rect, GraphicsPath, gp, GradientAlignment align ) : void
g Graphics
Col1 Color
Col2 Color
rect Rectangle,
gp GraphicsPath,
align GradientAlignment
리턴 void

FillGradientBeam() 공개 메소드

public FillGradientBeam ( Graphics g, Color Col1, Color Col2, Rectangle, rect, GradientAlignment align ) : void
g Graphics
Col1 Color
Col2 Color
rect Rectangle,
align GradientAlignment
리턴 void

RoundRect() 공개 메소드

public RoundRect ( Rectangle, Rectangle, int Curve ) : GraphicsPath,
Rectangle Rectangle,
Curve int
리턴 GraphicsPath,

RoundedTopRect() 공개 메소드

public RoundedTopRect ( Rectangle, Rectangle, int Curve ) : GraphicsPath,
Rectangle Rectangle,
Curve int
리턴 GraphicsPath,

프로퍼티 상세

BGTexture 공개적으로 프로퍼티

public string BGTexture
리턴 string