PathBuilder constructor

PathBuilder([
  1. PathFillType? fillType
])

Creates a new path builder for paths of the specified fill type.

By default, will create non-zero filled paths.

Implementation

PathBuilder([PathFillType? fillType])
    : fillType = fillType ?? PathFillType.nonZero;