New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI.ImageEditor

Inheritance: Telerik.Web.UI.ImageEditor.ImageText

Methods

Gets the color of the text to draw

JS
get_color(): String
Returns:

String

A color value in hex

Gets the font family of the text to draw

JS
get_fontFamily(): String
Returns:

String

The name of the font family

Gets the font size of the text to draw

JS
get_fontSize(): Number
Returns:

Number

The size of the font in pixels

Gets value of the text to draw

JS
get_text(): String
Returns:

String

The value of the text as a string

Sets the color of the text to draw

JS
set_color(String value): void
Parameters:valueString

A color value in hex

Sets the font family of the text to draw

JS
set_fontFamily(String value): void
Parameters:valueString

The name of the font family

Sets the font size of the text to draw

JS
set_fontSize(Number value): void
Parameters:valueNumber

The size of the font in pixels

Sets the value of the text to draw

JS
set_text(String value): void
Parameters:valueString

The value of the text as a string

Not finding the help you need?
Contact Support