Window.draw
- void draw(in Color color, in Vector[Len] points)
- void draw(in Color color, in Circle circle)
- void draw(in Color color, in Rectangle rect)
struct Window
nothrow @nogc @trusted
void
draw
- void draw(in Texture tex, in Vector position, in Color col = Color.white)
- void draw(in Texture tex, in float x, in float y, in Color col = Color.white)
- void draw(in Texture tex, in Rectangle area, in float rotation = 0, in Vector origin = Vector(0, 0), in Vector scale = Vector(1, 1), in bool flipHorizontal = false, in bool flipVertical = false, in Color color = Color.white)
- void draw(in Texture tex, in float x, in float y, in float w, in float h, in float rot = 0, in float originX = 0, in float originY = 0, in float scaleX = 1, in float scaleY = 1, in bool flipHorizontal = false, in bool flipVertical = false, in Color color = Color.white)
- void draw(in Texture tex, in Transform trans, in float x, in float y, in float w, in float h, in bool flipHorizontal = false, in bool flipVertical = false, in Color color = Color.white)
- void draw(ref scope Sprite sprite)
- float draw(ref in Font font, in char c, in float x, in float y, in Color col = Color.white)
- void draw(ref in Font font, in string str, in float x, in float y, in float lineHeight = 1, in Color col = Color.white)
- void draw(ref in Font font, in string str, in float x, in float y, in float maxWidth, in Color col = Color.white, in bool wrapOnWord = true, float lineHeight = 1)
dgtwindowWindow
constructorsfunctionspropertiesstatic functionsvariables
Draw a rectangle with a color