API REFERENCE
setDrawingSpace
move a drawing to the other coordinate space (its anchors convert at the current frame).
Definition
setDrawingSpace(id: string, space: DrawingSpace): Promise<ChartDrawing | null>| Arguments | Type | Required |
|---|---|---|
id | string | Required |
space | DrawingSpace | Required |
Return type: Promise<ChartDrawing | null>. Call the method after element registration and await its Promise result.
- ChartDrawing
Type definition
- DrawingSpace
Type definition