| CartoType iOS API 9.2-12-g6c2dcf66f
    for development in Swift and Objective C for iOS and Mac OS | 
#import <CartoTypeBase.h>
 
 | Instance Methods | |
| (CtResult) | - readFromXml: | 
| (NSString *) | - toXml | 
| (CtPerspectiveParam *) | - getPerspectiveParam | 
| (void) | - setPerspectiveParam: | 
| (void *) | - viewState | 
| Properties | |
| int | widthInPixels | 
| int | heightInPixels | 
| CtPoint | viewCenterDegrees | 
| double | scaleDenominator | 
| double | rotationDegrees | 
| bool | perspective | 
The view state, which can be retrieved or set so that maps can be recreated.
| - (CtPerspectiveParam *) getPerspectiveParam | 
Gets a copy of the parameters to be used for perspective mode.
| - (CtResult) readFromXml: | (NSString *) | aText | 
Reads a view state from its XML form.
| - (void) setPerspectiveParam: | (CtPerspectiveParam *) | aPerspectiveParam | 
Sets the parameters to be used for perspective mode.
| - (NSString *) toXml | 
Creates a string representing a view state in XML.
| - (void *) viewState | 
(for internal use) Gets a pointer to the underlying C++ object.
| 
 | readwritenonatomicassign | 
The display height in pixels.
| 
 | readwritenonatomicassign | 
True if perspective mode is on.
| 
 | readwritenonatomicassign | 
The clockwise rotation of the view in degrees.
| 
 | readwritenonatomicassign | 
The denominator of the scale fraction; e.g., 50000 for 1:50000.
| 
 | readwritenonatomicassign | 
The view center in map coordinates.
| 
 | readwritenonatomicassign | 
The display width in pixels.