Optional positions?: Point3Deg[]Optional style?: Partial<PolygonStyleOptions>Protected Optional _graphicProtected _styleProtected animationidsProtected arrowReadonly attributesProtected connProtected controlProtected Readonly controlProtected Readonly coreProtected curveProtected curveProtected Readonly dragReadonly entityProtected eventReadonly eventProtected freehandProtected geometryProtected headProtected headProtected hintProtected hintProtected Optional hintProtected isProtected llReadonly markProtected maxProtected neckProtected neckReadonly outlineReadonly pointsProtected rrProtected Optional tempProtected tempProtected Readonly viewerProtected addProtected addAdd points only on click events
Optional callback: ((positions, self) => void)Protected addProtected animateProtected assignProtected checkProtected drawProtected drawOptional callback: ((positions, self) => void)Protected generateProtected getProtected getProtected initProtected onBind a global click event that responds differently based on the state. When in the drawing state, a click will add points for geometric shapes. During editing, selecting a drawn shape puts it in an editable state. Clicking on empty space sets it to a static state.
Optional callback: ((positions, self) => void)Protected removeProtected removeProtected removeProtected removeProtected setProtected setOptional style: Partial<PolygonStyleOptions>Protected stopProtected updateProtected update
Display key points when creating a shape, allowing dragging of these points to edit and generate new shapes.