Point

data class Point(component: Component, val sizeDp: Float = Defaults.POINT_SIZE)

Defines a point style.

Parameters

component

the point Component.

Constructors

Link copied to clipboard
constructor(component: Component, sizeDp: Float = Defaults.POINT_SIZE)

Properties

Link copied to clipboard

the point size (in dp).

Functions

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

Draws a point at (x, y).