CanvasFontFace Methods |
The CanvasFontFace type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the CanvasFontFace. | |
GetGdiCompatibleGlyphMetrics | Gets the metrics and bounds of the glyphs that would get drawn, compatible with what GDI would produce, in em units. | |
GetGlyphIndices | Returns the nominal mapping of UCS4 Unicode code points to glyph indices as defined by the font 'CMAP' table. | |
GetGlyphMetrics | Gets the metrics and bounds of the glyphs that would get drawn in em units. | |
GetGlyphRunBounds(CanvasDrawingSession, Vector2, Single, CanvasGlyph, Boolean, UInt32) | Gets the bounds of a glyph run using this font face. | |
GetGlyphRunBounds(CanvasDrawingSession, Vector2, Single, CanvasGlyph, Boolean, UInt32, CanvasTextMeasuringMode) | Gets the bounds of a glyph run using this font face, using the specified measuring mode. | |
GetInformationalStrings | Gets an informational string contained by the font. | |
GetRecommendedGridFit | Determines the recommended grid fit for the font, using the specified size and rendering constraints. | |
GetRecommendedRenderingMode(Single, Single, CanvasTextMeasuringMode, CanvasTextRenderingParameters) | Determines the recommended rendering mode for the font, using the specified size and rendering constraints. | |
GetRecommendedRenderingMode(Single, Single, CanvasTextMeasuringMode, CanvasTextRenderingParameters, Matrix3x2, Boolean, CanvasAntialiasing) | Determines the recommended rendering mode for the font, using the specified size and rendering constraints. | |
GetSupportedTypographicFeatureNames(CanvasAnalyzedScript) | Gets an array of the supported typographic features for this font face. | |
GetSupportedTypographicFeatureNames(CanvasAnalyzedScript, String) | Gets an array of the supported typographic features for this font face. | |
GetTypographicFeatureGlyphSupport(CanvasAnalyzedScript, CanvasTypographyFeatureName, CanvasGlyph) | Gets an array of booleans, as to whether a set of glyphs can be used with the specified typographic feature. | |
GetTypographicFeatureGlyphSupport(CanvasAnalyzedScript, CanvasTypographyFeatureName, CanvasGlyph, String) | Gets an array of booleans, as to whether a set of glyphs can be used with the specified typographic feature. | |
GetVerticalGlyphVariants | Retrieves the vertical forms of the nominal glyphs retrieved from GetGlyphIndices. | |
HasCharacter | Gets whether this font face contains the specified unicode character. |