Instance Method
validateMetricsKey(_:)validateMetricsKey:error: validateMetricsKey_error_
Validates the syntax of a proposed metrics key.
Declaration
func validateMetricsKey(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>?) throwsDeclaration
- (BOOL) validateMetricsKey:(id*) ioValue error:(NSError **) outError;Declaration
validateMetricsKey_error_(ioValue: object) -> tuple[bool, NSError]Parameters
ioValueThe proposed metrics key, or
nil.
Parameters
ioValueThe proposed metrics key, or
nil.outErrorOn return, an error describing invalid syntax.
Discussion
This does not resolve references or calculate a metric value.
Return Value
Whether the proposed value uses valid metrics key syntax.
Discussion
This does not resolve references or calculate a metric value.
See Also
Metrics Keys
Glyph-level metrics key for the left side bearing.
Glyph-level metrics key for the advance width.
Glyph-level metrics key for the right side bearing.
Glyph-level metrics key for the top side bearing.
Glyph-level metrics key for the vertical origin.
Glyph-level metrics key for the vertical advance width.
Glyph-level metrics key for the bottom side bearing.
The stored glyph-level metrics key for a metric side, or
nilwhen none is set.Sets the glyph-level metrics key for a metric side.