java.lang.Object
fr.univartois.butinfo.fractals.figure.Line
All Implemented Interfaces:
IFigure

public class Line extends Object implements IFigure
La classe Line correspond à une IFigure de ligne.
Version:
0.1.0
Author:
Théo Journée
  • Constructor Details

    • Line

      public Line(int x1, int y1, int x2, int y2, String stroke)
      Crée une instance de Line.
      Parameters:
      x1 - Position x du point 1.
      y1 - Position y du point 1.
      x2 - Position x du point 2.
      y2 - Position y du point 2.
      stroke - Couleur du rectangle.
      width - Largeur.
  • Method Details