MaplyGeomState
Objective-C
@interface MaplyGeomState : NSObject
Swift
class MaplyGeomState : NSObject
Geometry State is used to describe the visual look of objects as they’re added.
Set the various fields in the geometry state to control how geometry looks when you add it. There are defaults for all of these fields.
-
Color to use for the geometry
Declaration
Objective-C
@property (nonatomic, strong) UIColor *color
Swift
var color: UnsafeMutablePointer<Int32>! { get set }
-
Background color for text
Declaration
Objective-C
@property (nonatomic, strong) UIColor *backColor
Swift
var backColor: UnsafeMutablePointer<Int32>! { get set }
-
UIImage for MaplyTexture to apply to geometry
Declaration
Objective-C
@property (nonatomic, strong) id texture;
Swift
var texture: Any! { get set }
-
For more than one texture, use addTexture
Declaration
Objective-C
- (void)addTexture:(MaplyTexture *)texture;
Swift
func addTexture(_ texture: MaplyTexture!)