skip to main content
Diagrammer > Programmer's documentation > Rogue Wave JViews Framework Advanced Features > Link shape policies > Obtaining the link shape policy of IlvEnhancedPolylineLinkImage instances
 
Obtaining the link shape policy of IlvEnhancedPolylineLinkImage instances
All instances of IlvEnhancedPolylineLinkImage that are in the same grapher use the same link shape policy internally.
To obtain this link shape policy, call
 
IlvLinkShapePolicy policy = IlvLinkShapePolicyUtil.GetLinkShapePolicy (mode,
grapher);
The parameter mode can be:
*CROSSING_POLICY_MODE retrieves the link shape policy of all links that have the crossing mode enabled and the orthogonal mode disabled.
*ORTHOGONAL_POLICY_MODE retrieves the link shape policy of all links that have the crossing mode disabled, that is, the mode is NO_CROSSINGS, but the orthogonal mode enabled.
*A bitwise Or combination of both – the link shape policy that has the crossing mode and the orthogonal mode enabled.
This allows you to access the link shape policies that are used internally by the class IlvEnhancedPolylineLinkImage so as to change the parameters of these policies.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.