Up

# NSGlyphInfo class documentation

### Authors

Generated by root

# Software documentation for the NSGlyphInfo class

## NSGlyphInfo : NSObject

> Declared in:
>   AppKit/NSGlyphInfo.h

Availability: MacOS-X 10.2.0
Description forthcoming.

Instance Variables
Method summary

- +glyphInfoWithCGGlyph:forFont:baseString:
- +glyphInfoWithCharacterIdentifier:collection:baseString:
- +glyphInfoWithGlyph:forFont:baseString:
- +glyphInfoWithGlyphName:forFont:baseString:
- -baseString
- -characterCollection
- -characterIdentifier
- -glyphID
- -glyphName

### glyphInfoWithCGGlyph: forFont: baseString:

+ (NSGlyphInfo*) glyphInfoWithCGGlyph: (CGGlyph)glyph forFont: (NSFont*)font baseString: (NSString*)string;
Availability: MacOS-X 10.2.0
Creates an NSGlyphInfo object from the specified glyph.

### glyphInfoWithCharacterIdentifier: collection: baseString:

+ (NSGlyphInfo*) glyphInfoWithCharacterIdentifier: (NSUInteger)cid collection: (NSCharacterCollection)characterCollection baseString: (NSString*)string;
Availability: MacOS-X 10.2.0
Creates an NSGlyphInfo object with the given cid.

### glyphInfoWithGlyph: forFont: baseString:

+ (NSGlyphInfo*) glyphInfoWithGlyph: (NSGlyph)glyph forFont: (NSFont*)font baseString: (NSString*)string;
Availability: MacOS-X 10.2.0
Creates an NSGlyphInfo object with the given NSGlyph.

### glyphInfoWithGlyphName: forFont: baseString:

+ (NSGlyphInfo*) glyphInfoWithGlyphName: (NSString*)glyphName forFont: (NSFont*)font baseString: (NSString*)string;
Availability: MacOS-X 10.2.0
Creates an NSGlyphInfo object with the given glyph name.

### baseString

- (NSString*) baseString;
Availability: MacOS-X 10.2.0
The string containing the specified glyph

### characterCollection

- (NSCharacterCollection) characterCollection;
Availability: MacOS-X 10.2.0
the character collection, readonly.

### characterIdentifier

- (NSUInteger) characterIdentifier;
Availability: MacOS-X 10.2.0
the character identifier, readonly.

### glyphID

- (CGGlyph) glyphID;
Availability: MacOS-X 10.2.0
The glyph this glyph info object represents.

### glyphName

- (NSString*) glyphName;
Availability: MacOS-X 10.2.0
the glyph name, readonly.

## Instance Variables for NSGlyphInfo Class

### _baseString

@protected NSString* _baseString;
Availability: MacOS-X 10.2.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _characterCollection

@protected NSCharacterCollection _characterCollection;
Availability: MacOS-X 10.2.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _characterIdentifier

@protected NSUInteger _characterIdentifier;
Availability: MacOS-X 10.2.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _font

@protected NSFont* _font;
Availability: MacOS-X 10.2.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _glyphID

@protected CGGlyph _glyphID;
Availability: MacOS-X 10.2.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _glyphName

@protected NSString* _glyphName;
Availability: MacOS-X 10.2.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

Up