GraphicsBuilder - Paints

Paints define how color patterns can be applied to a Shape's contents either passing them as a parameter on fill or nesting them inside a Shape definition.

All paints support the following additional properties

  • asPaint: creates the paint but does not apply it to the current context, useful for reusing paints in several shapes.

Alphabetical list

BorderPaint
ColorPaint
GradientPaint
LinearGradient
Paint
RadialGradient
TexturePaint

Extras

MultiPaint

Labels

 
(None)