Skip to main content


deprecated class %ZEN.SVGComponent.rect extends %ZEN.SVGComponent.svgComponent

Simple SVG rectangle component.
The x and y position of the component are determined by the layout provided by the svgGroup containing this component.
Note that this is not the same as an SVG rect element: This is a complete ZEN component with corresponding object in the page object model.

Property Inventory

Method Inventory


property rx as %ZEN.Datatype.length [ InitialExpression = 0 ];
Radius of corners for rectangle.
Property methods: rxDisplayToLogical(), rxGet(), rxIsValid(), rxLogicalToDisplay(), rxLogicalToOdbc(), rxNormalize(), rxSet()
property style as %ZEN.Datatype.svgStyle;
Additional style to apply to this shape.
Property methods: styleDisplayToLogical(), styleGet(), styleIsValid(), styleLogicalToDisplay(), styleLogicalToOdbc(), styleNormalize(), styleSet()


clientmethod renderContents() [ Language = javascript ]
Render the inner SVG contents of this component.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab