Class WpfTextRenderer
- Namespace
- SharpVectors.Renderers.Texts
- Assembly
- SharpVectors.Rendering.Wpf.dll
public abstract class WpfTextRenderer : WpfRendererObject, IDisposable
- Inheritance
-
WpfTextRenderer
- Implements
- Derived
- Inherited Members
Constructors
Fields
Properties
Methods
- DrawGeometryWithPaintOrder(SvgTextContentElement, Brush, Pen, Geometry)
Draws geometry respecting the paint-order CSS property.
For text rendering with paint-order support, this method creates separate drawings when stroke-first rendering is needed, instead of using the standard DrawContext.DrawGeometry which applies fill then stroke.
- ExtractTextPathGeometry(Geometry)
This will extract a PathGeometry that is nested into GeometryGroup, which is normally created by the FormattedText.BuildGeometry() method.
- GetBolderFontWeight(string)
Resolves one step heavier font-weight from a given parent font-weight value.
- GetLighterFontWeight(string)
Resolves one step lighter font-weight from a given parent font-weight value.
- GetTextFontWeight(SvgTextContentElement)
Resolves the font-weight property of an SVG text element, with support for relative keywords and parent-relative adjustments.
- GetTextFontWeight(string)
Resolves a CSS font-weight string to a WPF FontWeight.