Canvas.rect

Add a rect to the current path.

  1. void rect(float x, float y, float width, float height)
    struct Canvas
    nothrow @nogc
    void
    rect
    (
    float x
    ,
    float y
    ,
    float width
    ,
    float height
    )
  2. void rect(vec2f topLeftPoint, vec2f dimension)
  3. void rect(box2f rectangle)
  4. void rect(box2i rectangle)

Meta