PathFigure class

A PathFigure represents a section of a Geometry. It is a single connected series of two-dimensional geometric PathSegments.

The Geometry#figures property is a list of PathFigures.

PathFigures are drawn with the Shape#stroke and other stroke properties. Filled PathFigures are painted with the Shape#fill.

A PathFigure must not be modified once its containing Geometry has been assigned to a Shape.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

PathFigure([num? sx, num? sy, bool? filled, bool? shadowed, bool? isEvenOdd])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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