toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.bezier
/
Arc
Arc
object
Arc
Members
Properties
K
Link copied to clipboard
const
val
K
:
Double
=
0.5522847498307933
Functions
arc
Path
Link copied to clipboard
fun
arcPath
(
out
:
VectorBuilder
,
p1
:
Point
,
p2
:
Point
,
radius
:
Double
,
counterclockwise
:
Boolean
=
false
)
fun
arcPath
(
out
:
VectorBuilder
,
center
:
Point
,
r
:
Double
,
start
:
Angle
,
end
:
Angle
,
counterclockwise
:
Boolean
=
false
)
arc
To
Path
Link copied to clipboard
fun
arcToPath
(
out
:
VectorBuilder
,
a
:
Point
,
c
:
Point
,
r
:
Double
)
area
Link copied to clipboard
fun
area
(
radius
:
Double
,
angle
:
Angle
)
:
Double
create
Arc
Link copied to clipboard
fun
createArc
(
p1
:
Point
,
p2
:
Point
,
radius
:
Double
,
counterclockwise
:
Boolean
=
false
)
:
Curves
fun
createArc
(
p
:
Point
,
r
:
Double
,
start
:
Angle
,
end
:
Angle
,
counterclockwise
:
Boolean
=
false
)
:
Curves
create
Circle
Link copied to clipboard
fun
createCircle
(
p
:
Point
,
radius
:
Double
)
:
Curves
create
Ellipse
Link copied to clipboard
fun
createEllipse
(
p
:
Point
,
radius
:
Size
)
:
Curves
ellipse
Path
Link copied to clipboard
fun
ellipsePath
(
out
:
VectorBuilder
,
p
:
Point
,
rsize
:
Size
)
find
Arc
Center
Link copied to clipboard
fun
findArcCenter
(
p1
:
Point
,
p2
:
Point
,
radius
:
Double
)
:
Point
length
Link copied to clipboard
fun
length
(
radius
:
Double
,
angle
:
Angle
)
:
Double