uk.co.keang.hex.gui
Interface IHexagonal
- All Known Implementing Classes:
- HexButton, HexToggleButton
public interface IHexagonal
A class implements this interface if it represents a hexagonal object that can be in
different orientations
- Author:
- A.G.Docherty
setOrientation
void setOrientation(HexBtnUtilities.HexOrientation o)
- Sets the orientation of the hexagon shape.
Two orientations are available:
1. VERTICAL_SIDES - sides are vertical and points are top and bottom
2. HORIZONTAL_SIDES - top and bottom are horizontal and points are left and right
By default orientation is VERTICAL_SIDES
- Parameters:
o
- - the orientation