rt-graphic-component/components/Signal/common/CommonGraphics.d.ts
2024-01-02 14:36:14 +08:00

13 lines
435 B
TypeScript

import { Graphics } from 'pixi.js';
/**
*
* @param polygon
* @param x 箭头顶点x坐标
* @param y 箭头顶点y坐标
* @param length 箭头长度
* @param radius 箭头三角半径
* @param lineWidth 箭头线宽
* @param mirror 是否镜像翻转 (基于箭头顶点)
*/
export declare function drawArrow(polygon: Graphics, x: number, y: number, length: number, radius: number, lineWidth: number, mirror: boolean): void;