Class TextStyle
- Namespace
- SVGImage.SVG
- Assembly
- DotNetProjects.SVGImage.dll
public sealed class TextStyle
- Inheritance
-
TextStyle
- Inherited Members
-
Constructors
TextStyle(Shape)
public TextStyle(Shape owner)
Parameters
owner Shape
TextStyle(TextStyle)
public TextStyle(TextStyle aCopy)
Parameters
aCopy TextStyle
Properties
BaseLineShift
public string BaseLineShift { get; set; }
Property Value
- string
FontFamily
public string FontFamily { get; set; }
Property Value
- string
FontSize
public double FontSize { get; set; }
Property Value
- double
Fontstyle
public FontStyle Fontstyle { get; set; }
Property Value
- FontStyle
Fontweight
public FontWeight Fontweight { get; set; }
Property Value
- FontWeight
LetterSpacing
public double LetterSpacing { get; set; }
Property Value
- double
TextAlignment
public TextAlignment TextAlignment { get; set; }
Property Value
- TextAlignment
TextDecoration
public TextDecorationCollection TextDecoration { get; set; }
Property Value
- TextDecorationCollection
WordSpacing
public double WordSpacing { get; set; }
Property Value
- double
Methods
GetGlyphTypeface()
public GlyphTypeface GetGlyphTypeface()
Returns
- GlyphTypeface
GetTypeface()
public Typeface GetTypeface()
Returns
- Typeface
Merge(TextStyle, TextStyle)
public static TextStyle Merge(TextStyle baseStyle, TextStyle overrides)
Parameters
baseStyle TextStyle
overrides TextStyle
Returns
- TextStyle