public class IlvLinkShapePolicyUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BUNDLE_POLICY_MODE
The mode to be used if a combination of link shape policies is needed
that supports the multi link bundling,
|
static int |
CROSSING_POLICY_MODE
The mode to be used if a combination of link shape policies is needed
that supports the calculation of tunnel or bridge crossings.
|
static int |
ORTHOGONAL_POLICY_MODE
The mode to be used if a combination of link shape policies is needed
that supports the orthogonal shape constraint.
|
Modifier and Type | Method and Description |
---|---|
static IlvCrossingLinkShapePolicy |
GetCrossingPolicy(IlvGrapher grapher)
Returns the default crossing link shape policy for the crossing aware
links of the input grapher.
|
static IlvLinkShapePolicy |
GetLinkShapePolicy(int mode,
IlvGrapher grapher)
Returns the default link shape policy for the policy aware links of
the input grapher that use the input mode.
|
public static final int CROSSING_POLICY_MODE
public static final int ORTHOGONAL_POLICY_MODE
public static final int BUNDLE_POLICY_MODE
public static IlvLinkShapePolicy GetLinkShapePolicy(int mode, IlvGrapher grapher)
IlvEnhancedPolylineLinkImage
that are in the
same grapher and have the same mode.
The returned link shape policy is actually a combination of link shape
policies linked via IlvAbstractLinkShapePolicy.getChildPolicy()
.
mode
- The mode of the links.grapher
- The grapher of the links.public static IlvCrossingLinkShapePolicy GetCrossingPolicy(IlvGrapher grapher)
IlvEnhancedPolylineLinkImage
that are in the
same grapher and have crossings enabled.
grapher
- The grapher of the links.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.