Intermact API Reference / @intermact/core / shapeObject
Function: shapeObject()
shapeObject(
type,contours,style,options?):IMObject2D
Defined in: packages/core/src/constructs/shared.ts:35
Build a fillable construct object (stroke + fill + morphable) from contours.
Parameters
type
string
contours
readonly RawContour[]
style
options?
defaultSamples?
number
morphable?
boolean