TextShadow

public struct TextShadow : Hashable

Describes a shadow that can be applied to text elements, like Label.

  • The blur radius of the shadow.

    Declaration

    Swift

    public var radius: CGFloat
  • The opacity of the shadow.

    Declaration

    Swift

    public var opacity: CGFloat
  • The offset of the shadow.

    Declaration

    Swift

    public var offset: UIOffset
  • The color of the shadow.

    Declaration

    Swift

    public var color: UIColor
  • Declaration

    Swift

    public init(radius: CGFloat, opacity: CGFloat, offset: UIOffset, color: UIColor)