CartoType iOS API 9.0-11-g64131709d
for development in Swift and Objective C for iOS and Mac OS
Loading...
Searching...
No Matches
CtBlendStyle Class Reference

#include <CartoTypeBase.h>

Inheritance diagram for CtBlendStyle:

Instance Methods

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

Properties

NSString * styles
 
CtColor mainColor
 
CtColor borderColor
 
CtColor textColor
 
CtColor textGlowColor
 
CtColor 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 CtBlendStyle with a C++ blend style: for internal use only.

Property Documentation

◆ borderColor

- (CtColor) borderColor
readwritenonatomicassign

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

◆ iconColor

- (CtColor) iconColor
readwritenonatomicassign

If not null, the forced color for icons.

◆ mainColor

- (CtColor) 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

- (CtColor) textColor
readwritenonatomicassign

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

◆ textGlowColor

- (CtColor) 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: