C# Класс Flood.GUI.GwenRenderer

Наследование: Flood.GUI.Renderers.Renderer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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