New to Kendo UI for AngularStart a free 30-day trial

Represents a Direct Access Storage shape, a flowchart element used to indicate direct access storage devices like magnetic disks. Extends Rectangle with rounded ends.

Definition

Package:@progress/kendo-angular-diagrams

Methods

Gets the drawing container for this element.

Returns:

any

The drawing element container

Sets the fill color and opacity of the visual element.

Parameters:colorany

The fill color

opacity?any

The fill opacity (optional)

Gets or sets the position of the element.

Parameters:xany

The x coordinate or Point object, or undefined to get current position

y?any

The y coordinate when x is a number

Returns:

Point

The current position as a Point when called as getter

Redraws the rectangle with updated options.

Parameters:optionsany

New options to apply to the rectangle

Gets or sets the rotation of the element.

Parameters:angleany

The rotation angle in radians, or undefined to get current rotation

centerany

The center point for rotation

Returns:

Rotation

The current rotation when called as getter

Sets the stroke color, width, and opacity of the visual element.

Parameters:colorany

The stroke color

widthany

The stroke width

opacityany

The stroke opacity

Gets or sets the visibility of the element.

Parameters:valueany

The visibility value to set, or undefined to get current visibility

Returns:

any

The current visibility state when called as getter

Properties

The underlying drawing element that handles the actual rendering.

id

string

The unique identifier of the element.

Configuration options for the element.