Point

data class Point(component: Component, val size: Dp = Defaults.POINT_SIZE.dp)

Defines a point style.

Parameters

component

the point Component.

Constructors

Link copied to clipboard
constructor(component: Component, size: Dp = Defaults.POINT_SIZE.dp)

Properties

Link copied to clipboard
val size: Dp

the point size.

Functions

Link copied to clipboard
fun draw(context: CartesianDrawingContext, x: Float, y: Float)

Draws a point at (x, y).