Class GlobalOrientationControl


  • @PublicAPI
    public class GlobalOrientationControl
    extends Control
    This control is to change the orientation say rotate a GraphicComponent in the global coordinate system.
    Since:
    Marvin 4.0.2
    • Constructor Detail

      • GlobalOrientationControl

        public GlobalOrientationControl​(Monitor monitor)
        Creates a new instance of GlobalOrientationControl
    • Method Detail

      • getColor

        public byte[] getColor()
        Returns the color of the control.
        Specified by:
        getColor in class Control
      • control

        public void control​(int x,
                            int y)
        Changes the orientation say rotates the component of the control in the global coordinate system.
        Specified by:
        control in class Control
      • control

        public void control​(int z)
        Changes the orientation that is rotates the component of the control in the global coordinate system.
        Specified by:
        control in class Control