MMKBalloonGeometry
Warning
This feature is available in the NaviKit SDK version.
|
@interface MMKBalloonGeometry : NSObject |
Summary
Class methods
|
+ (nonnull MMKBalloonGeometry *)balloonGeometryWithAnchor:(nonnull MMKBalloonAnchor *)anchor |
Properties
|
@property (nonatomic, readonly, nonnull) MMKBalloonAnchor *anchor; |
|
@property (nonatomic, readonly) float width; |
|
@property (nonatomic, readonly) float height; |
|
@property (nonatomic, readonly) CGPoint imageAnchor; |
|
@property (nonatomic, readonly, nonnull) MMKRect *contentRect; |
|
@property (nonatomic, readonly, nonnull) MMKRect *balloonRect; |
Class methods
balloonGeometryWithAnchor:width:height:imageAnchor:contentRect:balloonRect:
|
+ (nonnull MMKBalloonGeometry *)balloonGeometryWithAnchor:(nonnull MMKBalloonAnchor *)anchor |
Properties
anchor
|
@property (nonatomic, readonly, nonnull) MMKBalloonAnchor *anchor; |
width
|
@property (nonatomic, readonly) float width; |
Total balloon image size
height
|
@property (nonatomic, readonly) float height; |
imageAnchor
|
@property (nonatomic, readonly) CGPoint imageAnchor; |
Anchor inside image rect. Coordinates from 0 to 1 are inside the image.
contentRect
|
@property (nonatomic, readonly, nonnull) MMKRect *contentRect; |
area with main information, except leg/borders
balloonRect
|
@property (nonatomic, readonly, nonnull) MMKRect *balloonRect; |
area with balloon, except leg, shadows, etc.