OutlineTextElement
This element draws a text as a shape, so that it can be outlined and filled like any other WPF shape.
Because it is a Shape, the look of the text comes from the standard shape properties: Stroke and StrokeThickness draw the outline, Fill fills the letters.
Properties
Name
Type
Description
Text
String
The text to draw.
Origin
Point
Corner the text geometry is built at. Default 0,0.
FontFamily
FontFamily
Font of the text.
FontSize
Double
Size of the text.
FontStyle
FontStyle
For example Italic.
FontWeight
FontWeight
For example Bold.
FontStretch
FontStretch
For example Condensed.
Example
<controls:OutlineTextElement Text="CHAMPION"
FontFamily="Arial Black" FontSize="80"
Fill="Gold" Stroke="Black" StrokeThickness="2" />