vico
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
vico
multiplatform
/
com.patrykandpatrick.vico.multiplatform.cartesian.layer
/
LineCartesianLayer
/
Point
Point
@
Immutable
data
class
Point
(
component
:
Component
,
val
size
:
Dp
=
Defaults.POINT_SIZE.dp
)
Defines a point style.
Parameters
component
the point
Component
.
Members
Constructors
Point
Link copied to clipboard
constructor
(
component
:
Component
,
size
:
Dp
=
Defaults.POINT_SIZE.dp
)
Properties
size
Link copied to clipboard
val
size
:
Dp
the point size.
Functions
draw
Link copied to clipboard
fun
draw
(
context
:
CartesianDrawingContext
,
x
:
Float
,
y
:
Float
)
Draws a point at (
x
,
y
).