Package | com.yworks.yfiles.layout |
Class | public class LabelLayoutConstants |
Inheritance | LabelLayoutConstants YObject Object |
See also
Constant | Defined By | ||
---|---|---|---|
PLACE_ANYWHERE : int = 0 [static]
Preferred placement specifier for edge labels. | LabelLayoutConstants | ||
PLACE_AT_CENTER : int = 4 [static]
Preferred placement specifier for edge labels. | LabelLayoutConstants | ||
PLACE_AT_SOURCE : int = 1 [static]
Preferred placement specifier for edge labels. | LabelLayoutConstants | ||
PLACE_AT_TARGET : int = 2 [static]
Preferred placement specifier for edge labels. | LabelLayoutConstants | ||
PLACE_LEFT_OF_EDGE : int = 16 [static]
Preferred placement specifier for edge labels. | LabelLayoutConstants | ||
PLACEMENT_ALONG_EDGE_MASK : int = 7 [static]
Placement specifier mask. | LabelLayoutConstants | ||
PLACEMENT_ON_SIDE_OF_EDGE_MASK : int = 56 [static]
Placement specifier mask. | LabelLayoutConstants | ||
PLACE_ON_EDGE : int = 8 [static]
Preferred placement specifier for edge labels. | LabelLayoutConstants | ||
PLACE_RIGHT_OF_EDGE : int = 32 [static]
Preferred placement specifier for edge labels. | LabelLayoutConstants |
PLACE_ANYWHERE | Constant |
public static const PLACE_ANYWHERE:int = 0
Preferred placement specifier for edge labels. Expresses that the label can be placed anywhere along the edge or on any side of the edge.
PLACE_AT_CENTER | Constant |
public static const PLACE_AT_CENTER:int = 4
Preferred placement specifier for edge labels. Expresses that the label should be placed near the center of the edge path.
PLACE_AT_SOURCE | Constant |
public static const PLACE_AT_SOURCE:int = 1
Preferred placement specifier for edge labels. Expresses that the label should be placed near the source node of an edge.
PLACE_AT_TARGET | Constant |
public static const PLACE_AT_TARGET:int = 2
Preferred placement specifier for edge labels. Expresses that the label should be placed near the target node of an edge.
PLACE_LEFT_OF_EDGE | Constant |
public static const PLACE_LEFT_OF_EDGE:int = 16
Preferred placement specifier for edge labels. Expresses that the label should be placed on the left hand side of the edge path if looking from the source node into the direction of the target node.
PLACE_ON_EDGE | Constant |
public static const PLACE_ON_EDGE:int = 8
Preferred placement specifier for edge labels. Expresses that the label should be placed on the path of the edge.
PLACE_RIGHT_OF_EDGE | Constant |
public static const PLACE_RIGHT_OF_EDGE:int = 32
Preferred placement specifier for edge labels. Expresses that the label should be placed on the right hand side of the edge path if looking from the source node into the direction of the target node.
PLACEMENT_ALONG_EDGE_MASK | Constant |
public static const PLACEMENT_ALONG_EDGE_MASK:int = 7
Placement specifier mask. Masks all placement specifiers that are not one of PLACE_AT_TARGET, PLACE_AT_SOURCE, or PLACE_AT_CENTER.
See also
PLACEMENT_ON_SIDE_OF_EDGE_MASK | Constant |
public static const PLACEMENT_ON_SIDE_OF_EDGE_MASK:int = 56
Placement specifier mask. Masks all placement specifiers that are not one of PLACE_ON_EDGE, PLACE_LEFT_OF_EDGE, or PLACE_RIGHT_OF_EDGE.
See also