graphic-pixi/lib/graphic/DraggablePoint.d.ts
2023-12-14 13:07:43 +08:00

24 lines
544 B
TypeScript

import { Graphics, IPointData } from 'pixi.js';
import { VectorGraphic } from './VectorGraphic';
/**
* 拖拽点参数
*/
export declare const DraggablePointParam: {
lineWidth: number;
lineColor: number;
fillColor: number;
radius: number;
};
/**
* 拖拽点,用于更新图形属性
*/
export declare class DraggablePoint extends Graphics implements VectorGraphic {
scaledListenerOn: boolean;
/**
*
* @param point 画布坐标点
*/
constructor(point: IPointData);
updateOnScaled(): void;
}