Class Reference
%ZEN.SVGComponent.rect
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%ZEN] >  [SVGComponent] >  [rect]
Private  Storage

class %ZEN.SVGComponent.rect extends 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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2


Summary

Properties
%condition %import %includeFiles %page
%resource aux boundless composite
document height hidden id
index name onclick onupdate
parent position preserveAspectRatio rx
style svgComponent svgGroup tuple
viewBoxHeight viewBoxWidth visible width
window x y

Methods
%%OIDGet %AddToSaveSet %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawHTML %DrawJSStrings
%Eval %Extends %ForceClientRender %GetEventHandlers
%GetParameter %GetXMLName %IsA %IsModified
%MakeId %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawObjectProperties %OnObjectSynch
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveFromSaveSet %Self %SerializeObject
%SetModified %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType beginWaitState calculateViewBox
clickHandler endWaitState findElement findSVGElement
fireOnUpdateEvent getFrame getProperty getSettings
getSizeAbsolute getType invokeSuper isOfType
makeId onCreate onDelete onSerialize
onloadHandler onunloadHandler onupdateHandler refreshContents
render renderContents renderSVG setOverlayMode
setPosition setPositionHandler setProperty setSize
setSizeHandler setTextNode sizingMouseDownHandler unrender
wrapMethod


Properties

• property rx as %ZEN.Datatype.length [ InitialExpression = 0 ];
Radius of corners for rectangle.
• property style as %ZEN.Datatype.svgStyle;
Additional style to apply to this shape.

Methods

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