Canvas.fillRect

Fill a rectangle using the current fillStyle. Note: affects the current path.

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

Meta