FocalPoint

data class FocalPoint(@FloatRange(from = 0.0, to = 1.0) val x: Double, @FloatRange(from = 0.0, to = 1.0) val y: Double)

Focal point that defines the position of the first framed geometry point.

Parameters

x

position from the left edge of the padding in the <0.0, 1.0> range

y

position from the top edge of the padding in the <0.0, 1.0> range

Constructors

Link copied to clipboard
fun FocalPoint(@FloatRange(from = 0.0, to = 1.0) x: Double, @FloatRange(from = 0.0, to = 1.0) y: Double)

Properties

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