path_drawing library
Classes
-
CircularIntervalList<
T> - A circular array of dash offsets and lengths.
- DashOffset
- Specifies the starting position of a dash array on a path, either as a percentage or absolute value.
- FlutterPathProxy
-
A
PathProxy
that takes the output of the path parsing library and maps it to a dart:ui Path.
Enums
- PathTrimOrigin
- The point on the path to trim from.
Functions
-
dashPath(
Path source, {required CircularIntervalList< double> dashArray, DashOffset? dashOffset}) → Path -
Creates a new path that is drawn from the segments of
source
. -
parseSvgPathData(
String svg) → Path - Creates a Path object from an SVG data string.
-
trimPath(
Path source, double percentage, {bool firstOnly = true, PathTrimOrigin origin = PathTrimOrigin.begin}) → Path -
Trims
percentage
of thesource
Path away and returns a new path.