Platforms to show: All Mac Windows Linux Cross-Platform
Back to CTGlyphInfoMBS class.
CTGlyphInfoMBS.Available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true in OS X v10.5 and later.
CTGlyphInfoMBS.CreateWithCharacterIdentifier(cid as Integer, collection as Integer, baseString as string) as CTGlyphInfoMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
cid: A character identifier.
collection: A character collection identifier.
baseString: The part of the string the returned object is intended to override.
Returns a valid reference to an immutable CTGlyphInfoMBS object if glyph info creation was successful; otherwise, nil.
This function creates an immutable glyph info object for a character identifier and a character collection.
Available in OS X v10.5 and later.
CTGlyphInfoMBS.CreateWithGlyph(glyph as Integer, font as CTFontMBS, baseString as string) as CTGlyphInfoMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
glyph: The index of the glyph.
font: The font to be associated with the returned CTGlyphInfoMBS object.
baseString: The part of the string the returned object is intended to override.
Returns a valid reference to an immutable CTGlyphInfoMBS object, If glyph info creation was successful; otherwise, nil.
This function creates an immutable glyph info object for a glyph index using a specified font.
Available in OS X v10.5 and later.
CTGlyphInfoMBS.CreateWithGlyphName(glyphName as string, font as CTFontMBS, baseString as string) as CTGlyphInfoMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
glyphName: The name of the glyph.
font: The font to be associated with the returned CTGlyphInfo object.
baseString: The part of the string the returned object is intended to override.
Returns a valid reference to an immutable CTGlyphInfo object if glyph info creation was successful; otherwise, nil.
This function creates an immutable glyph info object for a glyph name such as copyright using a specified font.
Available in OS X v10.5 and later.
The items on this page are in the following plugins: MBS MacCG Plugin.