GSAxis Class Reference
| Inherits from | NSObject |
| Conforms to | GSIdentifiableParameter |
| Declared in | GSAxis.h |
Overview
GSAxis represents an axis in a GSFont object.
@attention This class is not to be confused with the GXAxis
class!
Properties
axisTag
A four-letter tag representing the axis type.
@property (nullable, nonatomic, strong) GSAxisTag
axisTag
Discussion
@attention This property can not be called tag as
this conflicts with multiple existing properties/methods of the
same name but type
NSInteger. This would lead to build errors when
accessing this property on objects of type id.
defaultValue
For variation axes, this is the default value.
@property (nonatomic) CGFloat defaultValue
Discussion
Note: Minimum and maximum values are not currently accessed, so there are no properties for them yet.
@attention This property can not be called
default as this conflicts with a reserved
keyword.