DrawingContext.fill

Pattern to use when filling drawn objects.

Within the delegate, call other drawing primitive methods (rectangle, polygon, text, etc.) to define the pattern.

  1. void fill(const(Color) fillColor)
  2. void fill(size_t x, size_t y, size_t width, size_t height, void delegate(DrawingContext path) pattern)
    class DrawingContext
    void
    fill
    (
    size_t x
    ,
    size_t y
    ,
    size_t width
    ,
    size_t height
    ,
    void delegate() pattern
    )
  3. void fill(Gradient gradient)
  4. alias fillPattern = fill

Meta