MMKTextStyle
|
class MMKTextStyle : NSObject |
The style of placemarks's text.
Summary
Class methods
|
 init(size: Float, |
Instance methods
|
init() |
Properties
|
var size: Float { get set } |
|
var color: UIColor { get set } |
|
var outlineWidth: Float { get set } |
|
var outlineColor: UIColor { get set } |
|
var placement: MMKTextStylePlacement { get set } |
|
var offset: Float { get set } |
|
var offsetFromIcon: Bool { get set } |
|
var textOptional: Bool { get set } |
Class methods
init(size:color:outlineWidth:outlineColor:placement:offset:offsetFromIcon:textOptional:)
|
 init(size: Float, |
Instance methods
init()
|
init() |
Properties
size
|
var size: Float { get set } |
Text font size in units. default: 8
color
|
var color: UIColor { get set } |
Text color. default: black
outlineWidth
|
var outlineWidth: Float { get set } |
Outline width in units. default: 1
outlineColor
|
var outlineColor: UIColor { get set } |
Outline color. default: white
placement
|
var placement: MMKTextStylePlacement { get set } |
Text placement position. default: Center
offset
|
var offset: Float { get set } |
Text offset in units. Measured either from point or form icon edges, depending on MMKTextStyle::offsetFromIcon value Direction of the offset specified with MMKTextStyle::placement property Ignored when placement is 'Center' default: 0
offsetFromIcon
|
var offsetFromIcon: Bool { get set } |
When set, MMKTextStyle::offset is a padding between the text and icon edges. default: true
textOptional
|
var textOptional: Bool { get set } |
Allow dropping text but keeping icon during conflict resolution default: false