CartoType iOS API 8.10-3-g0075538f6
for development in Swift and Objective C for iOS and Mac OS
Instance Methods | List of all members
CartoTypeExtendedNoticePosition Class Reference

#import <CartoTypeBase.h>

Inheritance diagram for CartoTypeExtendedNoticePosition:

Instance Methods

(id) - init:xInset:xUnit:yInset:yUnit:
(void *) - position

Detailed Description

Positions for notices like the legend or scale bar.

Notices are positioned by moving them inwards from the designated position by the specified insets. For central positions (e.g., the X inset in Top, or both insets in Center) X insets move the position right and Y insets move it down. Units may be 'cm', 'mm', 'in', 'pt' (points: 1/72in), or 'pc' (picas: 1/6in); anything else, including null, means pixels.

The default inset is 3mm, or zero for central positions.

Method Documentation

◆ init:xInset:xUnit:yInset:yUnit:

- (id) init: (CartoTypeNoticePosition aPosition
xInset: (double)  aXInset
xUnit: (NSString *)  aXUnit
yInset: (double)  aYInset
yUnit: (NSString *)  aYUnit 

Creates an extended notice position from a base position, X and Y insets, and units in which the insets are defined.

◆ position

- (void *) position

Returns the native position object. For internal use only.

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