Style parameters for a map object title. More...
#include <com/navigine/idl/objc/NCTitleStyle.h>
Inherits NSObject.
Instance Methods | |
| (nonnull instancetype) | - initWithFontSize:color:outlineColor:outlineWidth:anchor:visible: |
| Default constructor for class NCTitleStyle. | |
| (nonnull instancetype) | - init |
| Default constructor for class NCTitleStyle. | |
Class Methods | |
| (nonnull instancetype) | + titleStyleWithFontSize:color:outlineColor:outlineWidth:anchor:visible: |
| Factory method for class NCTitleStyle. | |
| (nonnull instancetype) | + titleStyle |
| Factory method for class NCTitleStyle. | |
Properties | |
| float | fontSize |
| Font size in pixels. | |
| UIColor * | color |
| Title fill color. | |
| UIColor * | outlineColor |
| Title outline (halo) color. | |
| float | outlineWidth |
| Title outline (halo) width in pixels. | |
| NCTitleAnchor | anchor |
| Title anchor relative to the placement point TitleAnchor. | |
| BOOL | visible |
| Whether the title is visible. | |
Style parameters for a map object title.
Used with MapObject setTitleWithStyle.
Definition at line 20 of file NCTitleStyle.h.
| - (nonnull instancetype) init |
Default constructor for class NCTitleStyle.
| - (nonnull instancetype) initWithFontSize: | (float) | fontSize | |
| color: | (nonnull UIColor *) | color | |
| outlineColor: | (nonnull UIColor *) | outlineColor | |
| outlineWidth: | (float) | outlineWidth | |
| anchor: | (NCTitleAnchor) | anchor | |
| visible: | (BOOL) | visible |
Default constructor for class NCTitleStyle.
| + (nonnull instancetype) titleStyle |
Factory method for class NCTitleStyle.
| + (nonnull instancetype) titleStyleWithFontSize: | (float) | fontSize | |
| color: | (nonnull UIColor *) | color | |
| outlineColor: | (nonnull UIColor *) | outlineColor | |
| outlineWidth: | (float) | outlineWidth | |
| anchor: | (NCTitleAnchor) | anchor | |
| visible: | (BOOL) | visible |
Factory method for class NCTitleStyle.
|
readnonatomicassign |
Title anchor relative to the placement point TitleAnchor.
Definition at line 84 of file NCTitleStyle.h.
|
readnonatomicassign |
Title fill color.
Definition at line 69 of file NCTitleStyle.h.
|
readnonatomicassign |
Font size in pixels.
Swift code snippet:
Objective C code snippet:
Definition at line 64 of file NCTitleStyle.h.
|
readnonatomicassign |
Title outline (halo) color.
Definition at line 74 of file NCTitleStyle.h.
|
readnonatomicassign |
Title outline (halo) width in pixels.
Definition at line 79 of file NCTitleStyle.h.
|
readnonatomicassign |
Whether the title is visible.
Definition at line 89 of file NCTitleStyle.h.