"connectorPoints"

Maps all connector points within the panel.

Synopsis

void shape.connectorPoints(mapping points);

Parameters

Parameter Description
points Mapping of the connector points

Description

Use the function to set connector points when dynamically creating panels. The mapping keys are the names of the connector points. Each value is a dyn_int that contains the x and y coordinates of the point. This function must not be used during runtime or as a reference.

Example

main()
{
  mapping mConnectors;
  mConnectors["CP1"] = makeDynInt(10,10);
  mConnectors["CP2"] = makeDynInt(100,100);
  this.connectorPoints = mConnectors;
}

Assignment

Panel