DrawingContext.stroke

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 stroke(const(Color) strokeColor)
  2. void stroke(size_t x, size_t y, size_t width, size_t height, void delegate(DrawingContext path) pattern)
    class DrawingContext
    void
    stroke
    (
    size_t x
    ,
    size_t y
    ,
    size_t width
    ,
    size_t height
    ,
    void delegate pattern
    )
  3. void stroke(Gradient gradient)

Meta