-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ArrowOrientationRules extends Enum<ArrowOrientationRules>
ArrowOrientationRules determines the orientation of the arrow depending on the aligning rules.
ArrowOrientationRules.ALIGN_ANCHOR: Align depending on the position of an anchor. ArrowOrientationRules.ALIGN_FIXED: Align to fixed ArrowOrientation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALIGN_ANCHORAlign depending on the position of an anchor.
For example, Balloon.Builder.arrowOrientation is ArrowOrientation.TOP and we want to show up the balloon under an anchor using the Balloon.showAlignBottom. However, if there is not enough free space to place the tooltip at the bottom of the anchor, tooltips will be placed on top of the anchor and the orientation of the arrow will be ArrowOrientation.BOTTOM.
ALIGN_FIXEDAlign to fixed ArrowOrientation.
The orientation of the arrow will be fixed by the specific Balloon.Builder.arrowOrientation.
-
Method Summary
Modifier and Type Method Description final ArrowOrientationRulesvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ArrowOrientationRules>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final ArrowOrientationRules valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<ArrowOrientationRules> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-