Shadow

data class Shadow(val color: KalugaColor, val xOffset: Float, val yOffset: Float, val blurRadius: Float) : StringStyleAttribute.CharacterStyleAttribute

A CharacterStyleAttribute that adds a shadow to the character

Constructors

Link copied to clipboard
constructor(color: KalugaColor, xOffset: Float, yOffset: Float, blurRadius: Float)

Properties

Link copied to clipboard

the radius at which the shadow is blurred in points

Link copied to clipboard

the KalugaColor of the shadow

Link copied to clipboard

the shadow offset along the x-axis in points

Link copied to clipboard

the shadow offset along the y-axis in points