SYMapPlaceBackgroundStyle Class Reference

SYMapPlaceBackgroundStyle contains properties of background style of the place. More...

#import <SYMapPlace.h>

Inheritance diagram for SYMapPlaceBackgroundStyle:
Collaboration diagram for SYMapPlaceBackgroundStyle:

Instance Methods

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

Class Methods

((unavailable("Use initWithImage:anchor: instead.") + __attribute__
 

Properties

UIImage * image
 A nine patch image displayed as the background of the place. More...
 
CGPoint anchor
 A relative point on the image, which is connected to the map coordinate of the place. 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. More...
 

Detailed Description

SYMapPlaceBackgroundStyle contains properties of background style of the place.

Method Documentation

◆ initWithImage:anchor:

- (nonnull instancetype) initWithImage: (nonnull UIImage *)  image
anchor: (CGPoint)  anchor 

◆ __attribute__ [1/2]

- ((unavailable("Use) initWithImage:

◆ __attribute__ [2/2]

+ ((unavailable("Use) initWithImage:

Property Documentation

◆ image

- (UIImage*) image
readnonatomicassign

A nine patch image displayed as the background of the place.

◆ anchor

- (CGPoint) anchor
readnonatomicassign

A relative point on the image, which is connected to the map coordinate of the place. 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: