Outline class

A helper for working with outlines (including transforming).

TODO: It's very basic class for now used for generic glyph description. Replace it with a proper Path class (like java.awt.geom.Path2D or dart:ui's Path)

Constructors

Outline(List<Point<num>> pointList, List<bool> isOnCurveList, bool _hasCompactCurves, bool _hasQuadCurves, FillRule fillRule)

Properties

fillRule FillRule
final
hasCompactCurves bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasQuadCurves bool
no setter
isOnCurveList List<bool>
final
pointList List<Point<num>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compactImplicitPoints() → void
Compacts implicit points of quadratic curves (midpoints and end points)
copy() Outline
Deep copy of an outline
decompactImplicitPoints() → void
Decompacts implicit points of quadratic curves (midpoints and end points)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quadToCubic() → void
Converts every quadratic bezier to a cubic one
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited