Class BaseButton

  • Direct Known Subclasses:
    Button, TexSeqButton

    public class BaseButton
    extends GraphShape
    An abstract GraphUI base filled button GraphShape, usually used as a backdrop or base shape for more informative button types.

    GraphUI is GPU based and resolution independent.

    This button is rendered with a round oval shape by default, but can be set to rectangular shape.

    • Constructor Detail

      • BaseButton

        public BaseButton​(int renderModes,
                          float width,
                          float height)
    • Method Detail

      • getWidth

        public final float getWidth()
      • getHeight

        public final float getHeight()
      • getCorner

        public final float getCorner()
      • setSize

        public BaseButton setSize​(float width,
                                  float height)