MMKBalloonGeometry
class MMKBalloonGeometry : NSObject |
Undocumented
Summary
Class methods
init(anchor: MMKBalloonAnchor, |
Properties
var anchor: MMKBalloonAnchor { get } |
var width: Float { get } |
var height: Float { get } |
var imageAnchor: CGPoint { get } |
var contentRect: MMKRect { get } |
var balloonRect: MMKRect { get } |
Class methods
init(anchor:width:height:imageAnchor:contentRect:balloonRect:)
init(anchor: MMKBalloonAnchor, |
Properties
anchor
var anchor: MMKBalloonAnchor { get } |
Undocumented
width
var width: Float { get } |
Total balloon image size
height
var height: Float { get } |
Undocumented
imageAnchor
var imageAnchor: CGPoint { get } |
Anchor inside image rect. Coordinates from 0 to 1 are inside the image.
contentRect
var contentRect: MMKRect { get } |
area with main information, except leg/borders
balloonRect
var balloonRect: MMKRect { get } |
area with balloon, except leg, shadows, etc.