rt-graphic-component/components/common/CommonGraphics.d.ts
joylink_zhaoerwei 2ca2c58435 测试
2024-01-12 11:01:58 +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;