Type Method

glyphInfoWithCharacterIdentifier:collection:baseString:

Instantiates and returns an NSGlyphInfo object using a character identifier and a character collection.

Declaration

+ (NSGlyphInfo *)glyphInfoWithCharacterIdentifier:(NSUInteger)cid collection:(NSCharacterCollection)characterCollection baseString:(NSString *)string;

Parameters

cid

A character identifier.

characterCollection

A string constant representing a character collection. Possible values are described in NSCharacterCollection.

theString

The part of the attributed string the returned instance is intended to override.

Return Value

The created NSGlyphInfo object or nil if the object couldn't be created.

See Also

Deprecated

+ glyphInfoWithGlyph:forFont:baseString:

Instantiates and returns a glyph information object using a glyph index and a specified font.

Deprecated
+ glyphInfoWithGlyphName:forFont:baseString:

Instantiates and returns a glyph information object using a glyph name and a specified font.

Deprecated
characterIdentifier

The receiver’s character identifier (CID).

Deprecated
characterCollection

A value specifying the glyph–to–character identifier mapping of the receiver.

Deprecated
glyphName

The receiver’s glyph name.

Deprecated
NSCharacterCollection

Values that map character identifiers to glyphs.