Documentation of 'jhplot.shapes.Rectan' Java class.
Rectan
jhplot.shapes

Class Rectan

  • All Implemented Interfaces:
    java.io.Serializable


    public class Rectan
    extends HShape
    Draw a rectangle on HPlot canvas. Use USER or NDC coordinate system.
    See Also:
    Serialized Form
    • Constructor Detail

      • Rectan

        public Rectan(double X1,
                      double Y1,
                      double X2,
                      double Y2,
                      java.awt.Stroke strock,
                      java.awt.Color color)
        Build a rectangle
        Parameters:
        X1 - X start position
        Y1 - Y start position
        X2 - width
        Y2 - Y hight
        strock - Stroke to draw it
        color - Color
      • Rectan

        public Rectan(double X1,
                      double Y1,
                      double X2,
                      double Y2)
        Build a rectangle. Color is black, a deafult stroke.
        Parameters:
        X1 - X start position
        Y1 - Y start position
        X2 - width
        Y2 - hight
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of this label, the text.
      • doc

        public void doc()
        Show online documentation.

DMelt 3.0 © DataMelt by jWork.ORG