path property
Path
get
path
Implementation
ui.Path get path {
if (_isValid) {
return _path;
}
_isValid = true;
_path.reset();
if (fill != null && fill!.fillRule == FillRule.evenOdd) {
_path.fillType = PathFillType.evenOdd;
} else {
_path.fillType = PathFillType.nonZero;
}
for (final ActorBasePath path in paths) {
Mat2D transform = path.pathTransform;
_path.addPath((path as FlutterPath).path, ui.Offset.zero,
matrix4: transform.mat4);
}
return _path;
}