Upravit

Sdílet prostřednictvím


CGFont Class

Definition

Font support.

public class CGFont : IDisposable, ObjCRuntime.INativeObject
type CGFont = class
    interface INativeObject
    interface IDisposable
Inheritance
CGFont
Implements

Properties

Ascent

Returns the ascent of the font.

CapHeight

Returns the cap height of the font.

Descent

Returns the descent of the font.

FontBBox

Returns a rectangle specifing the bounding box of the font.

FullName

Returns the full name of the font.

Handle

Handle (pointer) to the unmanaged object representation.

ItalicAngle
Leading
NumberOfGlyphs
PostScriptName
StemV
UnitsPerEm
XHeight

Methods

CreateFromProvider(CGDataProvider)

Creates a font from a data provider.

CreateWithFontName(String)

Creates a new CGFont representing the specified PostScript or full name.

Dispose()

Releases the resources used by the CGFont object.

Dispose(Boolean)

Releases the resources used by the CGFont object.

Finalize()

Finalizer for the CGFont object

GetGlyphWithGlyphName(String)

Returns the glyph for the specified glyph name.

GetTypeID()

Type identifier for the CoreGraphics.CGFont type.

GlyphNameForGlyph(UInt16)
ToCTFont(nfloat, CGAffineTransform)
ToCTFont(nfloat)

Applies to