DingiIconTextFit
enum DingiIconTextFit {}
Scales the icon to fit around the associated text.
Values of this type are used in the DingiSymbolStyleLayer.iconTextFit
property.
-
The icon is displayed at its intrinsic aspect ratio.
Declaration
Objective-C
DingiIconTextFitNoneSwift
case none = 0 -
The icon is scaled in the x-dimension to fit the width of the text.
Declaration
Objective-C
DingiIconTextFitWidthSwift
case width = 1 -
The icon is scaled in the y-dimension to fit the height of the text.
Declaration
Objective-C
DingiIconTextFitHeightSwift
case height = 2 -
The icon is scaled in both x- and y-dimensions.
Declaration
Objective-C
DingiIconTextFitBothSwift
case both = 3
DingiIconTextFit Enumeration Reference