Class
DrawTextCommandContext

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

double

Size of the font.

foreColor

Color

Color of the text.

text

string

The text.

textPosition

Point

The text position.

textRotation

double

The angle, in degrees, of text's clockwise rotation.

DrawTextCommandContext(double, Color, string, Point, double, FontFamily)

Declaration

cs-api-definition
public DrawTextCommandContext(double fontSize, Color foreColor, string text, Point textPosition, double textRotation, FontFamily fontFamily)

Parameters

fontSize

double

foreColor

Color

text

string

textPosition

Point

textRotation

double

fontFamily

FontFamily

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

double

foreColor

Color

text

string

textPosition

Point

textRotation

double

fontFamily

FontFamily

isTextBold

bool

isTextItalic

bool

isTextUnderlined

bool

Properties

FontFamily

Declaration

cs-api-definition
public FontFamily FontFamily { get; }

Property Value

FontFamily

FontSize

Declaration

cs-api-definition
public double FontSize { get; }

Property Value

double

ForeColor

Declaration

cs-api-definition
public Color ForeColor { get; }

Property Value

Color

IsTextBold

Declaration

cs-api-definition
public bool IsTextBold { get; }

Property Value

bool

IsTextItalic

Declaration

cs-api-definition
public bool IsTextItalic { get; }

Property Value

bool

IsTextUnderlined

Declaration

cs-api-definition
public bool IsTextUnderlined { get; }

Property Value

bool

Text

Declaration

cs-api-definition
public string Text { get; }

Property Value

string

TextPosition

Declaration

cs-api-definition
public Point TextPosition { get; }

Property Value

Point

TextRotation

Gets the angle, in degrees, of clockwise rotation.

Declaration

cs-api-definition
public double TextRotation { get; }

Property Value

double