bdeGetPortBackgroundColor
Returns the background color of a given port.
Syntax
backgroundColor = bdeGetPortBackgroundColor(port)
Inputs
- port
- The port to get the background color of.
Outputs
- color
- The background color of the port.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
portList = bdeGetPortsOnBlock(block);
portX = portList{[1, 1]};
backgroundColor = bdeGetPortBackgroundColor(portX);
backgroundColor = struct [
alpha: 255
blue: 0
green: 0
red: 255
]