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