Definition
Namespace:Telerik.Windows.Media.Imaging.Commands
Assembly:Telerik.Windows.Controls.ImageEditor.dll
Syntax:
C#
public class DrawTextCommandContext
Inheritance: objectDrawTextCommandContext
Constructors
C#
public DrawTextCommandContext(double fontSize, Color foreColor, string text, Point textPosition, double textRotation, FontFamily fontFamily, bool isTextBold, bool isTextItalic, bool isTextUnderlined)
Initializes a new instance of the DrawTextCommandContext class.
C#
public DrawTextCommandContext(double fontSize, Color foreColor, string text, Point textPosition, double textRotation)
Size of the font.
foreColorColorColor of the text.
textstringThe text.
textPositionPointThe text position.
textRotationdoubleThe angle, in degrees, of text's clockwise rotation.
Properties
FontFamily
FontFamily
C#
public FontFamily FontFamily { get; }
ForeColor
Color
C#
public Color ForeColor { get; }
C#
public bool IsTextBold { get; }
C#
public bool IsTextItalic { get; }
C#
public bool IsTextUnderlined { get; }
TextPosition
Point
C#
public Point TextPosition { get; }
Gets the angle, in degrees, of clockwise rotation.
C#
public double TextRotation { get; }