paints property

List<Paint> paints
final

When specified each Path object in paths is painted by applying the corresponding Paint object.

The length of both paths and paints has to be equal. Keep in mind that Paint.style defaults to PaintingStyle.fill, whereas in most of the cases you probably want to set it to PaintingStyle.stroke. The corresponding order of Paint objects always orients itself on the PathOrder.original, even if the PathOrder was changed.

Implementation

final List<Paint> paints;