C# Class Flood.GUI.GwenRenderer

Inheritance: Flood.GUI.Renderers.Renderer
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

DrawFilledRect() public méthode

public DrawFilledRect ( Rectangle rect ) : void
rect Rectangle
Résultat void

DrawTexturedRect() public méthode

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
Résultat void

DrawTexturedRect() public méthode

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
Résultat void

GwenRenderer() public méthode

public GwenRenderer ( ) : System
Résultat System

MeasureText() public méthode

public MeasureText ( Font font, string text ) : System.Vector2
font Font
text string
Résultat System.Vector2

PixelColor() public méthode

public PixelColor ( ResourceHandle imageHandle, uint x, uint y, System.Color defaultColor ) : System.Color
imageHandle ResourceHandle
x uint
y uint
defaultColor System.Color
Résultat System.Color

Render() public méthode

public Render ( RenderBlock rb ) : void
rb RenderBlock
Résultat void

RenderText() public méthode

public RenderText ( Font font, Vector2i position, string text ) : void
font Font
position Vector2i
text string
Résultat void