Font.draw

draws a character

  1. void draw(dstring text, vec2 position, vec4 color)
  2. void draw(dchar c, vec2 position, vec2 origin, float rotation, vec4 color)
    class Font
    void
    draw
    (
    dchar c
    ,,
    vec2 origin = vec2(0)
    ,
    float rotation = 0
    ,
    vec4 color = vec4(1)
    )

Meta