deprecatedclass %ZEN.SVGComponent.port
extends svgObject
Defines an input/output port for a sprite object.
• property connectors
as list of connector(XMLPROJECTION="NONE");
List of connectors connected to this port.
• property type
as %ZEN.Datatype.string(VALUELIST=",input,output");
Type of this port: input or output.
• property x
as %ZEN.Datatype.float [ InitialExpression = 0 ];
x position of this port.
• property y
as %ZEN.Datatype.float [ InitialExpression = 0 ];
y position of this port.
• method addConnector(connector)
[ Language = javascript ]
Internal method: add a connector to this port.
Return true if successful.
• method renderPort()
[ Language = javascript ]
Render the svg for this port.
• method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.
• method updateConnectors()
[ Language = javascript ]
Internal method: update position of all connectors
connected to this port.
Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.