C# 클래스 Flood.GUI.GwenRenderer

상속: Flood.GUI.Renderers.Renderer
파일 보기 프로젝트 열기: FloodProject/flood 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void
DrawFilledRect ( Rectangle rect ) : void
DrawTexturedRect ( ResourceHandle imageHandle, RectangleF rect, System.Vector2 topLeftUV, System.Vector2 topRightUV, System.Vector2 bottomRightUV, System.Vector2 bottomLeftUV ) : void
DrawTexturedRect ( ResourceHandle imageHandle, RectangleF rect, float u1, float v1, float u2, float v2 ) : void
GwenRenderer ( ) : System
MeasureText ( Font font, string text ) : System.Vector2
PixelColor ( ResourceHandle imageHandle, uint x, uint y, System.Color defaultColor ) : System.Color
Render ( RenderBlock rb ) : void
RenderText ( Font font, Vector2i position, string text ) : void

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

DrawFilledRect() 공개 메소드

public DrawFilledRect ( Rectangle rect ) : void
rect Rectangle
리턴 void

DrawTexturedRect() 공개 메소드

public DrawTexturedRect ( ResourceHandle imageHandle, RectangleF rect, System.Vector2 topLeftUV, System.Vector2 topRightUV, System.Vector2 bottomRightUV, System.Vector2 bottomLeftUV ) : void
imageHandle ResourceHandle
rect RectangleF
topLeftUV System.Vector2
topRightUV System.Vector2
bottomRightUV System.Vector2
bottomLeftUV System.Vector2
리턴 void

DrawTexturedRect() 공개 메소드

public DrawTexturedRect ( ResourceHandle imageHandle, RectangleF rect, float u1, float v1, float u2, float v2 ) : void
imageHandle ResourceHandle
rect RectangleF
u1 float
v1 float
u2 float
v2 float
리턴 void

GwenRenderer() 공개 메소드

public GwenRenderer ( ) : System
리턴 System

MeasureText() 공개 메소드

public MeasureText ( Font font, string text ) : System.Vector2
font Font
text string
리턴 System.Vector2

PixelColor() 공개 메소드

public PixelColor ( ResourceHandle imageHandle, uint x, uint y, System.Color defaultColor ) : System.Color
imageHandle ResourceHandle
x uint
y uint
defaultColor System.Color
리턴 System.Color

Render() 공개 메소드

public Render ( RenderBlock rb ) : void
rb RenderBlock
리턴 void

RenderText() 공개 메소드

public RenderText ( Font font, Vector2i position, string text ) : void
font Font
position Vector2i
text string
리턴 void