- expandLine(line, lineWidth): {
expandPoints: any[];
leftPoints: any[];
offsetPoints: any[];
rightPoints: any[];
} Parameters
line: [number, number, number?][]
lineWidth: number | [number, number][]
Returns {
expandPoints: any[];
leftPoints: any[];
offsetPoints: any[];
rightPoints: any[];
}
expandPoints: any[]
leftPoints: any[]
offsetPoints: any[]
rightPoints: any[]
根据线的坐标扩展左右边 .