TextOptions
Text configuration options (see example).
Definition
Package:@progress/kendo-drawing
Properties
ariaChecked?
boolean
An optional aria-checked to be applied to the element. The aria-checked will be rendered only for SVG output.
ariaLabel?
string
An optional aria-label to be applied to the element. The aria-label will be rendered only for SVG output.
ariaRoleDescription?
string
An optional aria-roledescription to be applied to the element. The aria-roledescription will be rendered only for SVG output.
className?
string
An optional class to be applied to the element. The class will be rendered only for SVG output.
The clipping path for this element. The Path instance will be monitored for changes. Can be replaced by calling the clip method.
cursor?
string
The CSS cursor of the element.
The fill options of the Shape.
font?
string
The font to use for rendering the text. Accepts the standard CSS font syntax.
The following examples demonstrate valid font values:
- Size and family: "2em 'Open Sans', sans-serif"
- Style, size and family: "italic 2em 'Open Sans', sans-serif"
id?
string
An optional id. The id will be rendered only for SVG output.
name?
string
The optional name for this element.
opacity?
number
The element opacity. Ranges from zero (completely transparent) to one (completely opaque).
role?
string
An optional role to be applied to the element. The role will be rendered only for SVG output.
The stroke options of the Shape.
The transformation to apply to this element.
visible?
boolean
A flag which indicates if the element is visible.