Skip to main content

%ZEN.SVGComponent.port

deprecated class %ZEN.SVGComponent.port extends %ZEN.SVGComponent.svgObject

Defines an input/output port for a sprite object.

Property Inventory

Method Inventory

Properties

property connectors as list of connector (XMLPROJECTION = "NONE");
List of connectors connected to this port.
Property methods: connectorsBuildValueArray(), connectorsCollectionToDisplay(), connectorsCollectionToOdbc(), connectorsDisplayToCollection(), connectorsGet(), connectorsGetObject(), connectorsGetObjectId(), connectorsGetSwizzled(), connectorsIsValid(), connectorsOdbcToCollection(), connectorsSet(), connectorsSetObject(), connectorsSetObjectId()
property type as %ZEN.Datatype.string (VALUELIST = ",input,output");
Type of this port: input or output.
Property methods: typeDisplayToLogical(), typeGet(), typeIsValid(), typeLogicalToDisplay(), typeLogicalToOdbc(), typeNormalize(), typeSet()
property x as %ZEN.Datatype.float [ InitialExpression = 0 ];
x position of this port.
Property methods: xDisplayToLogical(), xGet(), xIsValid(), xLogicalToDisplay(), xLogicalToOdbc(), xNormalize(), xSet()
property y as %ZEN.Datatype.float [ InitialExpression = 0 ];
y position of this port.
Property methods: yDisplayToLogical(), yGet(), yIsValid(), yLogicalToDisplay(), yLogicalToOdbc(), yNormalize(), ySet()

Methods

clientmethod addConnector(connector) [ Language = javascript ]
Internal method: add a connector to this port. Return true if successful.
clientmethod renderPort() [ Language = javascript ]
Render the svg for this port.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod updateConnectors() [ Language = javascript ]
Internal method: update position of all connectors connected to this port.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab