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

TextStyle

Text appearance settings

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),
	fontName: String? = null
)

Text appearance settings

Parameters
fontSize
color
strokeWidth
strokeColor
textPlacement
textOffset
fontName
Returns
Properties