FocalPoint

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)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

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