--- title: Display description: "Learn how to build custom functionality when working with the React Diagram by Kendo UI with the help of the Display." api_reference: true type: inner_api slug: api_diagram_display --- # Display A visual element that renders a display symbol with angled left side and curved right edge. Extends Rectangle and provides functionality for creating display/output device shapes.
Name Type Default Description
#### drawingElement any The underlying drawing element that handles the actual rendering.
#### id string The unique identifier of the element.
#### options any Configuration options for the element.
## Constructors ### Display (options: [ShapeOptionsBase]({% slug api_diagram_shapeoptionsbase %})) Creates a new Display instance. #### Parameters ##### options [ShapeOptionsBase]({% slug api_diagram_shapeoptionsbase %}) Configuration options for the display shape ## Methods
#### drawingContainer
Gets the drawing container for this element.
Returns
any The drawing element container
#### fill
Sets the fill color and opacity of the visual element.
Parameters
color any The fill color
opacity? any The fill opacity (optional)
#### position
Gets the position of the element.
Returns
[Point]({% slug api_diagram_point %}) The current element position.
#### position
Sets the position of the element from a point.
Parameters
point [Point]({% slug api_diagram_point %}) The new element position.
#### position
Sets the position of the element from coordinates.
Parameters
x number The horizontal coordinate.
y number The vertical coordinate.
#### redraw
Redraws the rectangle with updated options.
Parameters
options any New options to apply to the rectangle
#### rotate
Gets the rotation of the element.
Returns
[Rotation]({% slug api_diagram_rotation %}) The current element rotation.
#### rotate
Sets the rotation of the element.
Parameters
angle number The rotation angle in radians.
center [Point]({% slug api_diagram_point %}) The center of rotation.
Returns
[Rotation]({% slug api_diagram_rotation %}) The applied element rotation.
#### stroke
Sets the stroke color, width, and opacity of the visual element.
Parameters
color any The stroke color
width any The stroke width
opacity any The stroke opacity
#### visible
Gets the visibility of the element.
Returns
boolean `true` when the element is visible; otherwise, `false`.
#### visible
Sets the visibility of the element.
Parameters
value boolean Whether the element should be visible.