Inherits from NSObject
Declared in GSPartProperty.h

Overview

The class implementing the properties in Smart Glyphs.

See also: GSGlyph.partsSettings

Properties

axisId

A id to use as key in the piecesettings in the components

@property (strong, nonatomic) NSString *axisId

Discussion

this allows to change the name and not loose the settings

bottomName

The name of the bottom value

@property (strong, nonatomic) NSString *bottomName

Discussion

This is currently not used, so ignore it.

bottomValue

The lower value for the interpolation range

@property (assign, nonatomic) NSInteger bottomValue

name

The name of the property

@property (strong, nonatomic) NSString *name

topName

The name of the top value

@property (strong, nonatomic) NSString *topName

Discussion

This is currently not used, so ignore it.

topValue

The upper value for the interpolation range

@property (assign, nonatomic) NSInteger topValue

Instance Methods

initWithDict:

Initialize the object with a dictionary

- (instancetype)initWithDict:(NSDictionary *)dict

Parameters

dict

The content of the dict as it is saved to the .glyphs file

The dict may look like this:

{
    bottomValue = 40;
    name = Width;
    topValue = 100;
}

Return Value

a new instance

See Also

propertyList

The content of the object serialalued as a dictionary.

- (NSDictionary *)propertyList

Return Value

a dict

Discussion

The dict has a format like this:

{
    bottomValue = 40;
    name = Width;
    topValue = 100;
}

See Also