Every preset geometry, by the DrawingML name (prstGeom/@prst) a shape's IShape.Properties.geometry takes and IShape.getShapeType returns.
prstGeom/@prst
await sheet.getMovables().add({ type: 'shape', json: { geometry: IGeometry.Preset.RoundRect }, bounds }); Copy
await sheet.getMovables().add({ type: 'shape', json: { geometry: IGeometry.Preset.RoundRect }, bounds });
Every preset geometry, by the DrawingML name (
prstGeom/@prst) a shape's IShape.Properties.geometry takes and IShape.getShapeType returns.