ArcGIS Runtime SDK for iOS: AGSKMLLabelStyle Class Reference
ArcGIS Runtime SDK for iOS  100.9
AGSKMLLabelStyle Class Reference

Description

Specifies how the name of a AGSKMLNode is drawn, including color and scale.

Controls how the AGSKMLNode::name is displayed. Corresponds to a <LabelStyle> in a KML document. Controls the color and scale of the name label.

See also
AGSKMLNode::name
Since
100.6
Inheritance diagram for AGSKMLLabelStyle:
AGSKMLColorStyle AGSObject

Instance Methods

(instancetype) - initWithColor:scale:
 

Class Methods

(instancetype) + KMLLabelStyleWithColor:scale:
 

Properties

AGSColor * color
 
AGSKMLColorMode colorMode
 
double scale
 

Method Documentation

§ initWithColor:scale:()

- (instancetype) initWithColor: (AGSColor *)  color
scale: (double)  scale 

Creates a KML label style with a specified label color and scale.

Parameters
colorColor of the label. Default is RGBA(255,255,255,255).
scaleScale of the label. Default is 1.0.
Since
100.6

§ KMLLabelStyleWithColor:scale:()

+ (instancetype) KMLLabelStyleWithColor: (AGSColor *)  color
scale: (double)  scale 

Creates a KML label style with a specified label color and scale.

Parameters
colorColor of the label. Default is RGBA(255,255,255,255).
scaleScale of the label. Default is 1.0.
Since
100.6

Property Documentation

§ color

- (AGSColor*) color
readwritenonatomicstronginherited

The color.

Since
100.6

§ colorMode

- (AGSKMLColorMode) colorMode
readwritenonatomicassigninherited

The color mode.

Since
100.6

§ scale

- (double) scale
readwritenonatomicassign

Scale of the label. Default is 1.0.

Since
100.6