YMKBalloonGeometry

class YMKBalloonGeometry : NSObject

Undocumented

Summary

Class methods

 init(anchor: YMKBalloonAnchor,
       width: Float,
      height: Float,
 imageAnchor: CGPoint,
 contentRect: YMKRect,
 balloonRect: YMKRect)

Properties

var anchorYMKBalloonAnchor { get }
Undocumented

var width: Float { get }
Total balloon image size

var height: Float { get }
Undocumented

var imageAnchor: CGPoint { get }
Anchor inside image rect

var contentRectYMKRect { get }
area with main information, except leg/borders

var balloonRectYMKRect { get }
area with balloon, except leg, shadows, etc

Class methods

init(anchor:width:height:imageAnchor:contentRect:balloonRect:)

 init(anchor: YMKBalloonAnchor,
       width: Float,
      height: Float,
 imageAnchor: CGPoint,
 contentRect: YMKRect,
 balloonRect: YMKRect)


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.


Предыдущая
Следующая