Optional positions?: Point3Deg[]Optional style?: Partial<PolygonStyleOptions>Protected Optional _graphicProtected _styleProtected animationidsReadonly attributesProtected controlProtected Readonly controlProtected Readonly coreProtected Readonly dragReadonly entityProtected eventReadonly eventProtected freehandProtected geometryProtected hintProtected hintProtected Optional hintReadonly markReadonly outlineReadonly pointsProtected Optional tempProtected Readonly viewerProtected addProtected addProtected addProtected animateProtected assignOptional callback: ((positions, self) => void)Protected checkProtected drawProtected drawProtected 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.