Class Rectangle


  • public class Rectangle
    extends GraphShape
    A GraphUI rectangle GraphShape

    GraphUI is GPU based and resolution independent.

    • Constructor Detail

      • Rectangle

        public Rectangle​(int renderModes,
                         float minX,
                         float minY,
                         float width,
                         float height,
                         float lineWidth,
                         float zPos)
      • Rectangle

        public Rectangle​(int renderModes,
                         AABBox abox,
                         float lineWidth)
      • Rectangle

        public Rectangle​(int renderModes,
                         float minX,
                         float minY,
                         float width,
                         float height,
                         float lineWidth)
      • Rectangle

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

      • getWidth

        public final float getWidth()
      • getHeight

        public final float getHeight()
      • getLineWidth

        public final float getLineWidth()
      • setPosition

        public void setPosition​(float minX,
                                float minY,
                                float zPos)
      • setDimension

        public void setDimension​(float width,
                                 float height,
                                 float lineWidth)
      • setBounds

        public void setBounds​(AABBox abox,
                              float lineWidth)