CenterPoint

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

A point on a GradientStyle at which the center of the gradient is located

Constructors

Link copied to clipboard
constructor(x: Float, y: Float)

Properties

Link copied to clipboard
val x: Float

the x coordinate of the center. Should range between 0.0 and 1.0

Link copied to clipboard
val y: Float

the y coordinate of the center. Should range between 0.0 and 1.0