Enumeration pvc.options.varia.TooltipGravity
Extends
string.
Field Attributes | Field Name and Description |
---|---|
Right tooltip side is placed at the
visual element's anchor point,
resulting in the tooltip being at its left.
|
|
Top tooltip side is placed at the
visual element's anchor point,
resulting in the tooltip being below it.
|
|
Upper-right tooltip corner is placed at the
visual element's anchor point,
resulting in the tooltip being below it and at its left.
|
|
Upper-left tooltip corner is placed at the
visual element's anchor point,
resulting in the tooltip being below it and at its right.
|
|
Bottom tooltip side is placed at the
visual element's anchor point,
resulting in the tooltip being above it.
|
|
Lower-right tooltip corner is placed at the
visual element's anchor point,
resulting in the tooltip being above it and at its left.
|
|
Lower-left tooltip corner is placed at the
visual element's anchor point,
resulting in the tooltip being above it and at its right.
|
|
Left tooltip side is placed at the
visual element's anchor point,
resulting in the tooltip being at its right.
|
Enumeration Detail
pvc.options.varia.TooltipGravity
The gravity of the tooltip controls
where the tooltip is place relative to the
visual element's anchor point.
The gravity is the tooltip's corner or side that is placed at the visual element's anchor point.
Said in yet another way: «Gravity is the direction of the tooltip arrow. The arrow points to the target element.»
The following diagram illustrates the tooltip arrow anchor points.
When pvc.options.Tooltip#useCorners is true, the "crossed" gravities are really at the tooltip box corners.
nw n ne +-o----o----o-+ | | w o Tooltip o e | | +-o----o----o-+ sw s se
Field Detail
East
Right tooltip side is placed at the
visual element's anchor point,
resulting in the tooltip being at its left.
- Value:
- 'e'
North
Top tooltip side is placed at the
visual element's anchor point,
resulting in the tooltip being below it.
- Value:
- 'n'
NorthEast
Upper-right tooltip corner is placed at the
visual element's anchor point,
resulting in the tooltip being below it and at its left.
- Value:
- 'ne'
NorthWest
Upper-left tooltip corner is placed at the
visual element's anchor point,
resulting in the tooltip being below it and at its right.
- Value:
- 'nw'
South
Bottom tooltip side is placed at the
visual element's anchor point,
resulting in the tooltip being above it.
- Value:
- 's'
SouthEast
Lower-right tooltip corner is placed at the
visual element's anchor point,
resulting in the tooltip being above it and at its left.
- Value:
- 'se'
SouthWest
Lower-left tooltip corner is placed at the
visual element's anchor point,
resulting in the tooltip being above it and at its right.
- Value:
- 'sw'
West
Left tooltip side is placed at the
visual element's anchor point,
resulting in the tooltip being at its right.
- Value:
- 'w'