Documentation API of the 'jhplot.shapes.Line' Java class
Line
jhplot.shapes

Class Line

    • Constructor Detail

      • Line

        public Line(double X1,            double Y1,            double X2,            double Y2,            Stroke strock,            Color color)
        Main constructor fot a line
        Parameters:
        X1 - X start position
        Y1 - Y start position
        X2 - X end position
        Y2 - Y end position
        strock - Stroke to draw it
        color - Color
      • Line

        public Line(double X1,            double Y1,            double X2,            double Y2)
        Make a line using black (default) color and default stroke
        Parameters:
        X1 - X start position
        Y1 - Y start position
        X2 - X end position
        Y2 - Y end position
    • Method Detail

      • toString

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

        public void doc()
        Show online documentation.

DMelt 1.2 © DataMelt by jWork.ORG

Line
jhplot.shapes

Class Line

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.