PsContour class final

A Photoshop shaping curve used by contours and Satin mappings.

Constructors

PsContour({required String? name, required List<PsContourPoint> points, required PsDescriptor descriptor})
Creates an immutable contour view.
PsContour.create({required String name, required List<PsContourPoint> points})
Creates a named ShpC contour from points.
factory
PsContour.fromDescriptor(PsDescriptor descriptor)
Creates a typed view over a Photoshop contour descriptor.
factory
PsContour.linear()
Creates Photoshop's default two-point Linear contour.
factory

Properties

descriptor → PsDescriptor
Complete source descriptor.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String?
Human-readable contour name, when stored.
final
points → List<PsContourPoint>
Curve points in source order.
final
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