CartoType iOS API 9.2-12-g6c2dcf66f
for development in Swift and Objective C for iOS and Mac OS
Instance Methods | Properties | List of all members
CtFrameworkParam Class Reference

#import <CartoTypeFrameworkParam.h>

Inheritance diagram for CtFrameworkParam:

Instance Methods

(id) - init
 

Properties

NSString * mapFileName
 
NSString * styleSheetFileName
 
NSString * styleSheetText
 
NSString * fontFileName
 
int viewWidth
 
int viewHeight
 
NSString * key
 
CtFilePolicy mapFilePolicy
 

Detailed Description

Parameters for creating a CtFramework object when detailed control is needed. For example, file buffer size and the maximum number of buffers can be set.

Method Documentation

◆ init

- (id) init

Creates a CtFrameworkParam object.

Property Documentation

◆ fontFileName

- (NSString*) fontFileName
readwritenonatomicstrong

The font file. Must not be null or empty.

◆ key

- (NSString*) key
readwritenonatomicstrong

If non-null, an API key or encryption key to be used when loading the map.

◆ mapFileName

- (NSString*) mapFileName
readwritenonatomicstrong

The map. Must not be null or empty.

◆ mapFilePolicy

- (CtFilePolicy) mapFilePolicy
readwritenonatomicassign

The file policy used for the map file.

◆ styleSheetFileName

- (NSString*) styleSheetFileName
readwritenonatomicstrong

The style sheet. If it is null or empty, styleSheetText is used.

◆ styleSheetText

- (NSString*) styleSheetText
readwritenonatomicstrong

The style sheet text. Used if styleSheetFileName is null or empty.

◆ viewHeight

- (int) viewHeight
readwritenonatomicassign

The height of the map in pixels. Must be greater than zero.

◆ viewWidth

- (int) viewWidth
readwritenonatomicassign

The width of the map in pixels. Must be greater than zero.


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