Click or drag to resize
CanvasFontFace Methods

The CanvasFontFace type exposes the following members.

Methods
  NameDescription
Public methodDispose
Releases all resources used by the CanvasFontFace.
Public methodGetGdiCompatibleGlyphMetrics
Gets the metrics and bounds of the glyphs that would get drawn, compatible with what GDI would produce, in em units.
Public methodGetGlyphIndices
Returns the nominal mapping of UCS4 Unicode code points to glyph indices as defined by the font 'CMAP' table.
Public methodGetGlyphMetrics
Gets the metrics and bounds of the glyphs that would get drawn in em units.
Public methodGetGlyphRunBounds(CanvasDrawingSession, Vector2, Single, CanvasGlyph, Boolean, UInt32)
Gets the bounds of a glyph run using this font face.
Public methodGetGlyphRunBounds(CanvasDrawingSession, Vector2, Single, CanvasGlyph, Boolean, UInt32, CanvasTextMeasuringMode)
Gets the bounds of a glyph run using this font face, using the specified measuring mode.
Public methodGetInformationalStrings
Gets an informational string contained by the font.
Public methodGetRecommendedGridFit
Determines the recommended grid fit for the font, using the specified size and rendering constraints.
Public methodGetRecommendedRenderingMode(Single, Single, CanvasTextMeasuringMode, CanvasTextRenderingParameters)
Determines the recommended rendering mode for the font, using the specified size and rendering constraints.
Public methodGetRecommendedRenderingMode(Single, Single, CanvasTextMeasuringMode, CanvasTextRenderingParameters, Matrix3x2, Boolean, CanvasAntialiasing)
Determines the recommended rendering mode for the font, using the specified size and rendering constraints.
Public methodGetSupportedTypographicFeatureNames(CanvasAnalyzedScript)
Gets an array of the supported typographic features for this font face.
Public methodGetSupportedTypographicFeatureNames(CanvasAnalyzedScript, String)
Gets an array of the supported typographic features for this font face.
Public methodGetTypographicFeatureGlyphSupport(CanvasAnalyzedScript, CanvasTypographyFeatureName, CanvasGlyph)
Gets an array of booleans, as to whether a set of glyphs can be used with the specified typographic feature.
Public methodGetTypographicFeatureGlyphSupport(CanvasAnalyzedScript, CanvasTypographyFeatureName, CanvasGlyph, String)
Gets an array of booleans, as to whether a set of glyphs can be used with the specified typographic feature.
Public methodGetVerticalGlyphVariants
Retrieves the vertical forms of the nominal glyphs retrieved from GetGlyphIndices.
Public methodHasCharacter
Gets whether this font face contains the specified unicode character.
Top
See Also