Instance Method
setDefaultProperty(_:value:) setDefaultProperty:value: setDefaultProperty_value_
Sets the default-language value for a font info property.
Declaration
func setDefaultProperty(_ name: GSPropertyName, value: Any?)Declaration
- (void) setDefaultProperty:(GSPropertyName) name value:(id) value;Declaration
setDefaultProperty_value_(name: GSPropertyName, value: object)Parameters
nameThe font info property name.
valueThe value to set, or
nilto remove the property.
Discussion
Passing nil removes the matching property.
See Also
Properties
The font info properties stored in the font.
The number of font info properties.
The font info property at an index, or
nilwhen the index is out of range.The index of a font info property, or
nilwhen the property is not in the font.The font info property for a property name, or
nilwhen the font has no matching property.The localized font info value for a property name and language tag, or
nilwhen the font has no matching value.The default-language value for a font info property, or
nilwhen the font has no matching value.Sets a font info value for a property name and language tag.
Adds a font info property.
Adds a font info property without undo registration or change notifications.
Inserts a font info property at an index.
Removes a font info property.
Removes the font info property at an index.
The font info property names supported by the font.
The preferred localized family names.
See Also
Properties
The font info properties stored in the font.
The number of font info properties.
The font info property at an index, or
nilwhen the index is out of range.Returns the index of a font info property, or
NSNotFoundwhen the property is not in the font.The font info property for a property name, or
nilwhen the font has no matching property.The localized font info value for a property name and language tag, or
nilwhen the font has no matching value.The default-language value for a font info property, or
nilwhen the font has no matching value.Sets a font info value for a property name and language tag.
Adds a font info property.
Adds a font info property without undo registration or change notifications.
Inserts a font info property at an index.
Removes a font info property.
Removes the font info property at an index.
The font info property names supported by the font.
The preferred localized family names.