Skip to content

API reference / Common / Engine types / ShapePath

Interface: ShapePath ​

One outline path (a:path, CT_Path2D).

Properties ​

PropertyDescription
width
number
@w — the path coordinate-space width in EMU.
height
number
@h — the path coordinate-space height in EMU.
fill
ShapePathFillMode
@fill — how the path is filled.
stroke
boolean
@stroke — whether the path is stroked.
extrusionOk
boolean
@extrusionOk — whether the path may be extruded in 3-D.
commands
ShapePathCommand[]
The drawing commands, in order.