ClassDrawTextCommandContext
Class
Definition
Namespace:Telerik.Windows.Media.Imaging.Commands
Assembly:Telerik.Windows.Controls.ImageEditor.dll
Syntax:
cs-api-definition
public class DrawTextCommandContext
Inheritance: objectDrawTextCommandContext
Constructors
DrawTextCommandContext(double, Color, string, Point, double)
Initializes a new instance of the DrawTextCommandContext class.
Declaration
cs-api-definition
public DrawTextCommandContext(double fontSize, Color foreColor, string text, Point textPosition, double textRotation)
Parameters
fontSize
Size of the font.
foreColor
Color
Color of the text.
text
The text.
textPosition
Point
The text position.
textRotation
The angle, in degrees, of text's clockwise rotation.
DrawTextCommandContext(double, Color, string, Point, double, FontFamily, bool, bool, bool)
Declaration
cs-api-definition
public DrawTextCommandContext(double fontSize, Color foreColor, string text, Point textPosition, double textRotation, FontFamily fontFamily, bool isTextBold, bool isTextItalic, bool isTextUnderlined)
Parameters
fontSize
foreColor
Color
text
textPosition
Point
textRotation
fontFamily
FontFamily
isTextBold
isTextItalic
isTextUnderlined
Properties
FontFamily
Declaration
cs-api-definition
public FontFamily FontFamily { get; }
Property Value
FontFamily
ForeColor
Declaration
cs-api-definition
public Color ForeColor { get; }
Property Value
Color
TextPosition
Declaration
cs-api-definition
public Point TextPosition { get; }
Property Value
Point
TextRotation
Gets the angle, in degrees, of clockwise rotation.