SYMapPlaceStyleAnchorPlacement Class Reference

Represents placement of a visual object relatively to its anchor point. Used when there is no background image. More...

#import <SYMapPlace.h>

Inheritance diagram for SYMapPlaceStyleAnchorPlacement:
Collaboration diagram for SYMapPlaceStyleAnchorPlacement:

Instance Methods

(nonnull instancetype) - initWithAnchor:
 
((unavailable("Use initWithAnchor: instead.") - __attribute__
 

Class Methods

((unavailable("Use initWithAnchor: instead.") + __attribute__
 

Properties

CGPoint anchor
 Defines a relative point of an object, which is connected to another object. For example, an image connected to a map coordinate, or a text connected to an image. More...
 

Detailed Description

Represents placement of a visual object relatively to its anchor point. Used when there is no background image.

Method Documentation

◆ initWithAnchor:

- (nonnull instancetype) initWithAnchor: (CGPoint)  anchor

◆ __attribute__ [1/2]

- ((unavailable("Use) initWithAnchor:

◆ __attribute__ [2/2]

+ ((unavailable("Use) initWithAnchor:

Property Documentation

◆ anchor

- (CGPoint) anchor
readnonatomicassign

Defines a relative point of an object, which is connected to another object. For example, an image connected to a map coordinate, or a text connected to an image.

Value must be in range between [0;0] - [1;1]. [0;0] means that top left corner of the image is "glued" to the map location of the place. [1;1] means that bottom right corner of the image is "glued" to the map location of the place. [0.5;0.5] - image center.


The documentation for this class was generated from the following file: