capsule
Toggle table of contents
1.0.0
common
Platform filter
common
Switch theme
Search in API
capsule
capsule
/
com.kyant.capsule.path
/
PathSegment
Path
Segment
@
Immutable
sealed
interface
PathSegment
(
source
)
Inheritors
Line
Arc
Circle
Cubic
Members
Types
Arc
Link copied to clipboard
data
class
Arc
(
val
center
:
Point
,
val
radius
:
Double
,
val
startAngle
:
Double
,
val
sweepAngle
:
Double
)
:
PathSegment
Circle
Link copied to clipboard
data
class
Circle
(
val
center
:
Point
,
val
radius
:
Double
)
:
PathSegment
Cubic
Link copied to clipboard
data
class
Cubic
(
val
p0
:
Point
,
val
p1
:
Point
,
val
p2
:
Point
,
val
p3
:
Point
)
:
PathSegment
Line
Link copied to clipboard
data
class
Line
(
val
from
:
Point
,
val
to
:
Point
)
:
PathSegment
Properties
from
Link copied to clipboard
abstract
val
from
:
Point
to
Link copied to clipboard
abstract
val
to
:
Point
Functions
draw
To
Link copied to clipboard
abstract
fun
drawTo
(
path
:
Path
)