Click or drag to resize

Font Class

A Font instance contains methods to access font and glyph data stored in a font description (TrueType or OpenType fonts).
Inheritance Hierarchy
SystemObject
  Fusee.Base.CoreFont

Namespace:  Fusee.Base.Core
Assembly:  Fusee.Base.Core (in Fusee.Base.Core.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class Font

The Font type exposes the following members.

Constructors
  NameDescription
Public methodFont
Initializes a new instance of the Font class
Top
Properties
  NameDescription
Public propertyPixelHeight
Gets or sets the size in pixels.
Public propertyUseKerning
Gets or sets a value indicating whether the kerning definition of a font should be used.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetGlyphCurve
Gets the character's points, contours and tags and translates them into a curve.
Public methodGetGlyphInfo
Gets the character information.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetKerning
Gets the kerning offset between a pair of two consecutive characters in a text string.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnscaledAdvance
Get the unscaled advance from a character.
Public methodGetUnscaledKerning
Gets the unscaled kerning offset between a pair of two consecutive characters in a text string.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRenderGlyph
Renders the given glyph.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public field_fontImp
For implementation purposes only. Do not use this.
Top
See Also