Paint
Paint
Describes how shapes are drawn, including fill or stroke style, thickness,
color, gradient, and blending behavior.
Creates a new Paint object with default settings.
Creates a new Paint initialized from the provided PaintDefinition.
Returns a new Paint that copies this one, optionally overriding selected
properties with values from the provided PaintDefinition.
Returns a new Paint instance.
Painting style of type PaintStyle.
Stroke join behavior for corners. See StrokeJoin.
Stroke cap used for line endings. See StrokeCap.
Thickness of the stroked path.
Blending mode used when compositing. See BlendMode.
Feathering amount.
Gradient applied to fill (if present).
Color. See Color.
Was this page helpful?