Instance Method

objectForKey:

Returns the font attribute specified by the given key.

Declaration

- (id)objectForKey:(UIFontDescriptorAttributeName)anAttribute;

Parameters

anAttribute

The font attribute key.

Return Value

The font attribute corresponding to anAttribute. For valid values of anAttribute, see Font Attributes.

See Also

Querying a Font Descriptor

fontAttributes

Returns the font descriptor's dictionary of attributes.

matrix

The current transform matrix of the font descriptor.

pointSize

The point size of the font descriptor.

postscriptName

The PostScript name of the font descriptor.

symbolicTraits

A bit mask that describes the traits of the font descriptor.