Class AddTextBase
Provides an abstract base class for operators that specify drawing text strokes with a specified font and color.
public abstract class AddTextBase : CanvasElement
- Inheritance
-
AddTextBase
- Derived
- Inherited Members
Properties
Alignment
Gets or sets the horizontal alignment of the text.
public StringAlignment Alignment { get; set; }
Property Value
Color
Gets or sets the color of the text.
[Range(0, 255)]
[Precision(0, 1)]
[TypeConverter(typeof(BgraScalarConverter))]
public Scalar Color { get; set; }
Property Value
Font
Gets or sets the font style used to render the text strokes.
public Font Font { get; set; }
Property Value
LineAlignment
Gets or sets the vertical alignment of the text.
public StringAlignment LineAlignment { get; set; }
Property Value
Text
Gets or sets the text to draw.
public string Text { get; set; }
Property Value
TextRenderingHint
Gets or sets the rendering mode used for the text strokes.
public TextRenderingHint TextRenderingHint { get; set; }