A class that draws a window type image More...
Public Member Functions | |
WindowDrawer (Texture window) | |
void | Update () |
void | Draw (Vector2 position) |
void | Draw (Vector2 position, Vector2 windowSize) |
void | Draw (Vector2 position, Vector2 windowSize, Color windowColor) |
void | Draw (Vector2 position, Vector2 windowSize, Color windowColor, bool isSlider) |
void | Draw (Vector2 position, Vector2 windowSize, Color windowColor, bool isSlider, Rectangle? clipRectAngle=null) |
void | Draw (Vector2 position, Vector2 windowSize, Vector2 edgeScale, Color windowColor, bool isSlider=false, Rectangle? clipRectAngle=null) |
void | DrawString (string text, Vector2 position) |
void | DrawString (int fontId, string text, Vector2 position, Color color) |
float | GetScale (Vector2 windowSize) |
Rectangle | GetRectangle (Vector2 position, Vector2 size) |
Vector2 | GetRenderSize (Vector2 size) |
Properties | |
Texture | WindowResource [get] |
int | paddingLeft [get] |
int | paddingRight [get] |
int | paddingTop [get] |
int | paddingBottom [get] |
A class that draws a window type image
Yukar.Engine.WindowDrawer.WindowDrawer | ( | Texture | window | ) |
void Yukar.Engine.WindowDrawer.Draw | ( | Vector2 | position | ) |
void Yukar.Engine.WindowDrawer.Draw | ( | Vector2 | position, |
Vector2 | windowSize | ||
) |
void Yukar.Engine.WindowDrawer.Draw | ( | Vector2 | position, |
Vector2 | windowSize, | ||
Color | windowColor | ||
) |
void Yukar.Engine.WindowDrawer.Draw | ( | Vector2 | position, |
Vector2 | windowSize, | ||
Color | windowColor, | ||
bool | isSlider | ||
) |
void Yukar.Engine.WindowDrawer.Draw | ( | Vector2 | position, |
Vector2 | windowSize, | ||
Color | windowColor, | ||
bool | isSlider, | ||
Rectangle? | clipRectAngle = null |
||
) |
void Yukar.Engine.WindowDrawer.Draw | ( | Vector2 | position, |
Vector2 | windowSize, | ||
Vector2 | edgeScale, | ||
Color | windowColor, | ||
bool | isSlider = false , |
||
Rectangle? | clipRectAngle = null |
||
) |
void Yukar.Engine.WindowDrawer.DrawString | ( | int | fontId, |
string | text, | ||
Vector2 | position, | ||
Color | color | ||
) |
void Yukar.Engine.WindowDrawer.DrawString | ( | string | text, |
Vector2 | position | ||
) |
Rectangle Yukar.Engine.WindowDrawer.GetRectangle | ( | Vector2 | position, |
Vector2 | size | ||
) |
Vector2 Yukar.Engine.WindowDrawer.GetRenderSize | ( | Vector2 | size | ) |
float Yukar.Engine.WindowDrawer.GetScale | ( | Vector2 | windowSize | ) |
void Yukar.Engine.WindowDrawer.Update | ( | ) |
|
get |
|
get |
|
get |
|
get |
|
get |