Window.draw
- void draw(Color color, Vector[Len] points)
- void draw(Color color, Circle circle)
- void draw(Color color, Rectangle rect)
- void draw(Texture tex, Vector position, Color col)
- void draw(Texture tex, float x, float y, Color col)
- void draw(Texture tex, Rectangle area, float rotation, Vector origin, Vector scale, bool flipHorizontal, bool flipVertical, Color color)
- void draw(Texture tex, float x, float y, float w, float h, float rot, float originX, float originY, float scaleX, float scaleY, bool flipHorizontal, bool flipVertical, Color color)
- void draw(Texture tex, Transform trans, float x, float y, float w, float h, bool flipHorizontal, bool flipVertical, Color color)
- void draw(Sprite sprite)
struct Window
nothrow @nogc @trusted
void
draw
- float draw(Font font, char c, float x, float y, Color col)
- void draw(Font font, string str, float x, float y, float lineHeight, Color col)
- void draw(Font font, string str, float x, float y, float maxWidth, Color col, bool wrapOnWord, float lineHeight)
dgt window Window
constructorsdestructorsfunctionspropertiesstatic functionsvariables
Draw a sprite to the screen