Name | Description | |
---|---|---|
NPort Constructor | Overloaded. |
The following tables list the members exposed by NPort.
Name | Description | |
---|---|---|
NPort Constructor | Overloaded. |
Name | Description | |
---|---|---|
DirectionModeProperty | Reference to the PortDirectionMode property | |
DirXProperty | Reference to the X Behavior property | |
DirYProperty | Reference to the Y Behavior property | |
FlowModeProperty | Reference to the FlowMode property | |
GlueModeProperty | Reference to the GlueMode property | |
NameProperty | Reference to the Name property | |
NPortSchema | Schema associated with NPort | |
RelativeProperty | Reference to the Relative property | |
VisibleProperty | Reference to the Visible property |
Name | Description | |
---|---|---|
DirectionMode | Gets or sets the mode in which the port direction angle is determined. By default set to custom. | |
DirX | Determines the x-component for the required alignment vector of a matching port | |
DirY | Determines the y-component for the required alignment vector of a matching port | |
FlowMode | Gets or sets the port flow mode, which defines the way in which this port can glue to other shapes ports and whether other shapes begin or end points are allowed to glue to this port. By default set to ENPortFlowMode.InputOutput. | |
GlueMode | Gets or sets the port glue mode, which defines the way in which this port can glue to other shapes ports and whether other shapes end-points are allowed to glue to this port. By default set to ENPortGlueMode.Inward. | |
IsInput | Gets whether the glue mode is either Input or InputOutput. | |
IsInward | Gets whether the glue mode is either Inward or InwardOutward. | |
IsOutput | Gets whether the flow mode is either Output or InputOutput. | |
IsOutward | Gets whether the glue mode is either Outward or InwardOutward. | |
Name | Gets or sets the name of the port | |
Relative | Gets or sets whether the port coordinates are expressed in absolute or relative values. By default set to false, meaning that port coordinates are in absolute shape coordinates. |
Name | Description | |
---|---|---|
CanGlueBegin | Determines whether a begin point can be glued to this port | |
CanGlueEnd | Determines whether an end point can be glued to this port | |
CanGluePort | Determines whether | |
GetGluedShapes | Gets all shapes glued (connected) to this port. | |
GetLocation | Overridden. Overriden to get the location of the port in shape coordinates. Takes into account the value of the Relative property. | |
GlueToGeometryContour | Overloaded. Glues the port location and direction to a relative position along the owner shape geometry contour. | |
GlueToShapeLine | Overloaded. Glues the port location and direction to a relative position along the owner shape line. | |
SetDirection | Overloaded. Sets a direction vector for the this port | |
SetLocation | Overridden. Sets the port location (in shape local coordinates) | |
ToString | Overridden. Gets the string representation of the shape | |
TryGetDirectionAngle | Tries to get the direction angle of the port (in radians, in local coordinates). | |
TryGetDirectionAngleInPage | Gets the direction vector angle (in radians, in page coordinates). | |
TryGetDirectionVector | Tries to get a normalized direction vector of the port. | |
TryGetDirectionVectorInPage | Gets the direction vector of the port, whose coordinates are (X + DirX, Y + DirY) transformed to page coordinates. | |
Unglue | Unglues the control |