ShapeOptions
ShapeOptions:
{}Options describing a Shape to insert with
TextView.addShape.
Remarks
Section titled “Remarks”Shapes are currently positioned inline within the text.
Properties
Section titled “Properties”geometry
Section titled “geometry”geometry:
ShapeGeometry
Preset geometry of the shape, for example
{ type: 'preset', preset: 'rect' }.
extent
Section titled “extent”extent:
Extent
Display size of the shape.
Fill of the shape. Omit or pass null for no fill.
outline?
Section titled “outline?”
optionaloutline:ShapeOutline|null
Outline of the shape. Omit or pass null for no outline.