Class SectorShape

Constructors

Properties

clockwise: boolean = true
cornerRadius: number | number[] = 0

Corner radius of sector

clockwise, from inside to outside, four corners are inner start -> inner end outer start -> outer end

5 => [5, 5, 5, 5] [5] => [5, 5, 0, 0] [5, 10] => [5, 5, 10, 10] [5, 10, 15] => [5, 10, 15, 15] [5, 10, 15, 20] => [5, 10, 15, 20]

cx: number = 0
cy: number = 0
endAngle: number = ...
r: number = 0
r0: number = 0
startAngle: number = 0