Instance Property
metrics
Font-wide metrics definitions.
Declaration
var metrics: [GSMetric]? { get set }Declaration
@property (nonatomic, strong) NSArray<GSMetric *> * metrics;Declaration
pyobjc_instanceMethods.metrics() -> list[GSMetric]
pyobjc_instanceMethods.setMetrics_(metrics: list[GSMetric])Discussion
Each metric defines a shared measurement such as ascender, x-height, baseline, or italic angle. The values for these definitions are stored on each master.
See Also
Metrics
KVO marker for changes that affect metrics.
Returns the number of font-wide metrics definitions.
Returns the metric at an index.
Returns the first metric with a name.
Returns the first metric with a type and name.
Returns the first metric with a type, name, and filter.
Adds a metric definition to the font.
Removes a metric definition from the font.
Sorts metric definitions by filter and position.
Creates metrics from dictionary descriptions.
Marks layer metrics for recalculation.
Assigns default layer widths for a glyph.