Window.draw

Draw a string using a font

  1. void draw(in Color color, in Vector[Len] points)
  2. void draw(in Color color, in Circle circle)
  3. void draw(in Color color, in Rectangle rect)
  4. void draw(in Texture tex, in Vector position, in Color col = Color.white)
  5. void draw(in Texture tex, in float x, in float y, in Color col = Color.white)
  6. 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)
  7. 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)
  8. 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)
  9. void draw(ref scope Sprite sprite)
  10. float draw(ref in Font font, in char c, in float x, in float y, in Color col = Color.white)
  11. void draw(ref in Font font, in string str, in float x, in float y, in float lineHeight = 1, in Color col = Color.white)
    struct Window
    nothrow @nogc @trusted
    void
    draw
    (
    ref in Font font
    ,
    in string str
    ,
    in float x
    ,
    in float y
    ,
    in float lineHeight = 1
    ,
    in Color col = Color.white
    )
  12. 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)

Meta