24 lines
544 B
TypeScript
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;
|
|
}
|