Optional positions?: Point3Deg[]Optional style?: Partial<PolygonStyleOptions>Protected Optional _graphicProtected _styleProtected animationidsReadonly attributesProtected controlProtected Readonly controlProtected Readonly coreProtected Readonly dragReadonly entityProtected eventReadonly eventProtected freehandProtected geometryReadonly graphicProtected hintProtected hintProtected Optional hintReadonly markReadonly minReadonly outlineReadonly pointsProtected Optional tempProtected Readonly viewerProtected addProtected addOptional callback: ((positions, self) => void)Protected addProtected animateProtected assignProtected checkProtected drawProtected drawProtected generate@descripttion: 生成腰型闭合曲线
Optional a: number控制宽长比
Optional b: number控制腰部凹陷程度(建议 0.2 < c < 0.5)
@author: Xiaohu.Shen
Protected 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.