Intermact API Reference / @intermact/core / MorphableTrait
Interface: MorphableTrait
Defined in: packages/core/src/object/traits.ts:47
Object can act as a morph source/target.
Properties
kind
readonlykind:"morphable"
Defined in: packages/core/src/object/traits.ts:48
Methods
morphAnchors()?
optionalmorphAnchors(): readonlyMorphAnchor[]
Defined in: packages/core/src/object/traits.ts:50
Returns
readonly MorphAnchor[]
normalizedContours()
normalizedContours(): readonly
NormalizedContour[]
Defined in: packages/core/src/object/traits.ts:49
Returns
readonly NormalizedContour[]