Class DrawTextCommandContext
Inheritance
Namespace: Telerik.Windows.Media.Imaging.Commands
Assembly: Telerik.Windows.Controls.ImageEditor.dll
Syntax
public class DrawTextCommandContext : Object
Constructors
DrawTextCommandContext(Double, Color, String, Point, Double)
Initializes a new instance of the DrawTextCommandContext class.
Declaration
public DrawTextCommandContext(double fontSize, Color foreColor, string text, Point textPosition, double textRotation)
Parameters
System.Double
fontSize
Size of the font. |
System.Windows.Media.Color
foreColor
Color of the text. |
System.String
text
The text. |
System.Windows.Point
textPosition
The text position. |
System.Double
textRotation
The angle, in degrees, of text's clockwise rotation. |
DrawTextCommandContext(Double, Color, String, Point, Double, FontFamily)
Declaration
public DrawTextCommandContext(double fontSize, Color foreColor, string text, Point textPosition, double textRotation, FontFamily fontFamily)
Parameters
System.Double
fontSize
|
System.Windows.Media.Color
foreColor
|
System.String
text
|
System.Windows.Point
textPosition
|
System.Double
textRotation
|
System.Windows.Media.FontFamily
fontFamily
|
DrawTextCommandContext(Double, Color, String, Point, Double, FontFamily, Boolean, Boolean, Boolean)
Declaration
public DrawTextCommandContext(double fontSize, Color foreColor, string text, Point textPosition, double textRotation, FontFamily fontFamily, bool isTextBold, bool isTextItalic, bool isTextUnderlined)
Parameters
System.Double
fontSize
|
System.Windows.Media.Color
foreColor
|
System.String
text
|
System.Windows.Point
textPosition
|
System.Double
textRotation
|
System.Windows.Media.FontFamily
fontFamily
|
System.Boolean
isTextBold
|
System.Boolean
isTextItalic
|
System.Boolean
isTextUnderlined
|
Properties
FontFamily
Declaration
public FontFamily FontFamily { get; }
Property Value
System.Windows.Media.FontFamily
|
FontSize
Declaration
public double FontSize { get; }
Property Value
System.Double
|
ForeColor
Declaration
public Color ForeColor { get; }
Property Value
System.Windows.Media.Color
|
IsTextBold
Declaration
public bool IsTextBold { get; }
Property Value
System.Boolean
|
IsTextItalic
Declaration
public bool IsTextItalic { get; }
Property Value
System.Boolean
|
IsTextUnderlined
Declaration
public bool IsTextUnderlined { get; }
Property Value
System.Boolean
|
Text
Declaration
public string Text { get; }
Property Value
System.String
|
TextPosition
Declaration
public Point TextPosition { get; }
Property Value
System.Windows.Point
|
TextRotation
Gets the angle, in degrees, of clockwise rotation.
Declaration
public double TextRotation { get; }
Property Value
System.Double
|