toggle menu
vico
androidJvm
switch theme
search in API
core
/
com.patrykandpatrick.vico.core.cartesian.layer
/
LineCartesianLayer
/
Point
Point
@
Immutable
data
class
Point
(
component
:
Component
,
val
sizeDp
:
Float
=
Defaults.POINT_SIZE
)
Defines a point style.
Parameters
component
the point
Component
.
Members
Constructors
Point
Link copied to clipboard
constructor
(
component
:
Component
,
sizeDp
:
Float
=
Defaults.POINT_SIZE
)
Properties
size
Dp
Link copied to clipboard
val
sizeDp
:
Float
the point size (in dp).
Functions
draw
Link copied to clipboard
fun
draw
(
context
:
CartesianDrawingContext
,
x
:
Float
,
y
:
Float
)
Draws a point at (
x
,
y
).