Skip to main content

%ZEN.SVGComponent.rect

Class %ZEN.SVGComponent.rect Extends svgComponent [ Deprecated, System = 3 ]

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.

Properties

rx

Property rx As %ZEN.Datatype.length [ InitialExpression = 0 ];

Radius of corners for rectangle.

style

Property style As %ZEN.Datatype.svgStyle;

Additional style to apply to this shape.

XDatas

SVGStyle

XData SVGStyle

Methods

renderContents

ClientMethod renderContents() [ Language = javascript ]

Render the inner SVG contents of this component.

setProperty

ClientMethod setProperty(property, value, value2) [ Language = javascript ]

Set the value of a named property.