Skip to main contentA partial set of paint properties used to initialize or update a Paint
instance. All fields are optional.
Fields
style
A partial set of paint properties used to initialize or update a Paint
instance. All fields are optional.
The painting style (stroke or fill).
join
Stroke join behaviour for corners.
cap
Stroke cap used for line endings.
thickness
Thickness of the stroked path.
blendMode
Blending mode used when compositing.
feather
Feathering amount.
gradient
Gradient fill applied to the paint.
If explicitly set to false, removes any existing gradient.
color
Color