CartoType iOS API 7.8.2, 2022-03-25
for development in Swift and Objective C for iOS and Mac OS
Instance Methods | Properties | List of all members
CartoTypeFrameworkParam Class Reference

#import <CartoTypeFrameworkParam.h>

Inheritance diagram for CartoTypeFrameworkParam:

Instance Methods

(id) - init
 

Properties

NSString * mapFileName
 
NSString * styleSheetFileName
 
NSString * fontFileName
 
int viewWidth
 
int viewHeight
 
NSData * encryptionKey
 
int fileBufferSizeInBytes
 
int maxFileBufferCount
 
int textIndexLevels
 
bool mapsOverlap
 

Detailed Description

Parameters for creating a CartoTypeFramework 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 CartoTypeFrameworkParam object.

Property Documentation

◆ encryptionKey

- (NSData*) encryptionKey
readwritenonatomicstrong

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

◆ fileBufferSizeInBytes

- (int) fileBufferSizeInBytes
readwritenonatomicassign

The file buffer size in bytes. If it is zero or less the default value is used.

◆ fontFileName

- (NSString*) fontFileName
readwritenonatomicstrong

The font file. Must not be null or empty.

◆ mapFileName

- (NSString*) mapFileName
readwritenonatomicstrong

The map. Must not be null or empty.

◆ mapsOverlap

- (bool) mapsOverlap
readwritenonatomicassign

If true, maps are allowed to overlap. If false, maps are clipped so that they do not overlap maps previously loaded.

◆ maxFileBufferCount

- (int) maxFileBufferCount
readwritenonatomicassign

The maximum number of file buffers. If it is zero or less the default value is used.

◆ styleSheetFileName

- (NSString*) styleSheetFileName
readwritenonatomicstrong

The style sheet. Must not be null or empty.

◆ textIndexLevels

- (int) textIndexLevels
readwritenonatomicassign

The number of levels of the text index to load into RAM. Use values from 1 to 5 to save RAM but make text searches slower. The value 0 causes the default number of levels (6) to be loaded. The value -1 disables text index loading.

◆ 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: