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
CartoTypeBlendStyle Class Reference

#import <CartoTypeBase.h>

Inheritance diagram for CartoTypeBlendStyle:

Instance Methods

(id) - initWithBlendStyle:
 
(const void *) - blendStyle
 

Properties

NSString * styles
 
CartoTypeColor mainColor
 
CartoTypeColor borderColor
 
CartoTypeColor textColor
 
CartoTypeColor textGlowColor
 
CartoTypeColor iconColor
 

Detailed Description

A rule to modify a certain style or styles. The colors are blended with colors in a style, using their alpha values as the blend fraction.

Method Documentation

◆ blendStyle

- (const void *) blendStyle

Returns a pointer to the C++ blend style: for internal use only.

◆ initWithBlendStyle:

- (id) initWithBlendStyle: (void *)  aBlendStyle

Initializes a CartoTypeBlendStyle with a C++ blend style: for internal use only.

Property Documentation

◆ borderColor

- (CartoTypeColor) borderColor
readwritenonatomicassign

If not null, the color to be blended with border colors.

◆ iconColor

- (CartoTypeColor) iconColor
readwritenonatomicassign

If not null, the forced color for icons.

◆ mainColor

- (CartoTypeColor) mainColor
readwritenonatomicassign

The color to be blended with the colors in the style.

◆ styles

- (NSString*) styles
readwritenonatomicassign

A space or comma separated list of wild-card style names. The special name '[legend]' is used for the legend, scale, copyright notice and turn instructions.

◆ textColor

- (CartoTypeColor) textColor
readwritenonatomicassign

If not null, the color to be blended with text colors.

◆ textGlowColor

- (CartoTypeColor) textGlowColor
readwritenonatomicassign

If not null, the color to be blended with text glow colors.


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