PsPoint class final

A two-dimensional descriptor point used by layer-style offsets and phases.

Constructors

PsPoint({required PsDescriptorNumber? horizontal, required PsDescriptorNumber? vertical, required PsDescriptor descriptor})
Creates an immutable point view.
const
PsPoint.create({required double horizontal, required double vertical, String? unit})
Creates a Pnt point, storing unit floats when unit is given.
factory
PsPoint.fromDescriptor(PsDescriptor descriptor)
Creates a typed view over a Photoshop point descriptor.
factory

Properties

descriptor → PsDescriptor
Complete source descriptor.
final
hashCode → int
The hash code for this object.
no setterinherited
horizontal → PsDescriptorNumber?
Horizontal coordinate with its optional Photoshop unit.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vertical → PsDescriptorNumber?
Vertical coordinate with its optional Photoshop unit.
final

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