YMKBalloonGeometry
class YMKBalloonGeometry : NSObject |
Undocumented
Summary
Class methods
init(anchor: YMKBalloonAnchor, |
Properties
var anchor: YMKBalloonAnchor { get } |
var width: Float { get } |
var height: Float { get } |
var imageAnchor: CGPoint { get } |
var contentRect: YMKRect { get } |
var balloonRect: YMKRect { get } |
Class methods
init(anchor:width:height:imageAnchor:contentRect:balloonRect:)
init(anchor: YMKBalloonAnchor, |
Properties
anchor
var anchor: YMKBalloonAnchor { 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: YMKRect { get } |
area with main information, except leg/borders
balloonRect
var balloonRect: YMKRect { get } |
area with balloon, except leg, shadows, etc.