Constructors
constructor
- new Arc(p: Point, r: number, start: number, end: number): Arc
- new Arc(x: number, y: number, r: number, start: number, end: number): Arc
-
Parameters
-
-
r: number
-
start: number
-
end: number
Returns Arc
-
Parameters
-
x: number
-
y: number
-
r: number
-
start: number
-
end: number
Returns Arc
Methods
contains
-
Parameters
Returns boolean
distance
- distance(p: Point): number
-
Parameters
Returns number
rotate
- rotate(a: number): Arc
- rotate(a: number, p: Point): Arc
-
Parameters
Returns Arc
-
Parameters
Returns Arc
scale
-
Parameters
Returns Arc
-
Parameters
Returns Arc
split
- split(data: number[]): Arc[]
translate
- translate(x: number, y: number): Arc