PointF

data class PointF(val x: Float, val y: Float)

Represents an xy position on the screen, expressed in pixels.

Parameters

x

The x position.

y

The y position.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
fun PointF(x: Float, y: Float)

Properties

Link copied to clipboard
val x: Float
Link copied to clipboard
val y: Float