ru.dgis.sdk.map.TextStyle | Android SDK | 2GIS Documentation
Android SDK

TextStyle

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

TextStyle(
	fontSize: LogicalPixel = LogicalPixel(value = 8.0f),
	color: Color = Color(),
	strokeWidth: LogicalPixel = LogicalPixel(value = 0.34999999f),
	strokeColor: Color = Color(argb = 4294967295.toInt()),
	textPlacement: TextPlacement = TextPlacement.BOTTOM_CENTER,
	textOffset: LogicalPixel = LogicalPixel(value = 0.0f)
)

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

Parameters
fontSize
color
strokeWidth
strokeColor
textPlacement
textOffset
Returns
Properties