TextStyle | iOS SDK | 2GIS Documentation
iOS SDK
Личный кабинет

TextStyle

Настройки внешнего вида текста

public init(
    fontSize: LogicalPixel = LogicalPixel(value: 8),
    color: Color = Color(),
    strokeWidth: LogicalPixel = LogicalPixel(value: 0.3499999940395355),
    strokeColor: Color = Color(argb: 4294967295),
    textPlacement: TextPlacement = TextPlacement.bottomCenter,
    textOffset: LogicalPixel = LogicalPixel(value: 0),
    fontName: String? = nil
)
Parameters
fontSize
color
strokeWidth
strokeColor
textPlacement
textOffset
fontName
Properties