Class Zeichenfenster.TurtleIntern.LinienElement
- java.lang.Object
-
- Zeichenfenster.TurtleIntern.LinienElement
-
- Enclosing class:
- Zeichenfenster.TurtleIntern
private class Zeichenfenster.TurtleIntern.LinienElement extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private Color
c
Farbe des LinienElements.private double
xEnde
x-Koordinate des Endpunktes.private double
xStart
x-Koordinate des Startpunktes.private double
yEnde
y-Koordinate des Endpunktes.private double
yStart
y-Koordinate des Startpunktes.
-
Constructor Summary
Constructors Constructor Description LinienElement(double xStart, double yStart, double xEnde, double yEnde, Color c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
Zeichnen(Graphics2D g)
-
-
-
Field Detail
-
xStart
private double xStart
x-Koordinate des Startpunktes.
-
yStart
private double yStart
y-Koordinate des Startpunktes.
-
xEnde
private double xEnde
x-Koordinate des Endpunktes.
-
yEnde
private double yEnde
y-Koordinate des Endpunktes.
-
c
private Color c
Farbe des LinienElements.
-
-
Constructor Detail
-
LinienElement
LinienElement(double xStart, double yStart, double xEnde, double yEnde, Color c)
-
-
Method Detail
-
Zeichnen
void Zeichnen(Graphics2D g)
-
-