![]() |
EOS 2
1.1.0
Einfache Objektbasierte Sprache
|
Öffentliche Methoden | |
Polygon () | |
boolean | isValid () |
void | addPoint (Point p) |
Figure | copy () |
String | toString () |
![]() | |
FilledFigure () | |
void | setFillStyle (FillStyle fillStyle) |
FillStyle | getFillStyle () |
void | setFillColor (MutableColor color) |
MutableColor | getFillColor () |
FillDescriptor | getFillDescriptor () |
![]() | |
LineFigure () | |
void | setLineColor (MutableColor color) |
MutableColor | getLineColor () |
void | setLineStyle (LineStyle linestyle) |
LineStyle | getLineStyle () |
void | setLineWidth (double width) |
double | getLineWidth () |
LineDescriptor | getLineDescriptor () |
![]() | |
Figure () | |
void | draw (Picture g) |
void | setVisible (boolean visible) |
boolean | getVisible () |
void | fireDataChanged () |
void | free () |
void | move (double dx, double dy) |
void | moveTo (double x, double y) |
double | getX () |
void | setX (double x) |
double | getY () |
void | setY (double y) |
void | rotate (double angle) |
void | setRotation (double angle) |
double | getRotation () |
void | rotateAround (double x, double y, double angle) |
void | scaleAt (double x, double y, double factor) |
void | scale (double factor) |
BoundingBox | getBound () |
void | alignLeftTop (double left, double top) |
void | alignRightBottom (double right, double bottom) |
void | alignLeft (double left) |
void | alignRight (double right) |
void | alignTop (double top) |
void | alignBottom (double bottom) |
String | getAngleText () |
boolean | getMirrored () |
Geschützte Methoden | |
void | drawObject (Picture p) |
void | scaleInternal (double factor) |
BalancePoint | getBalancePoint () |
BoundingBox | calculateBoundingBox (Transform base, Transform own) |
![]() | |
void | beforeDrawing (Picture p) |
![]() | |
void | fireLayoutChanged () |
void | moveToInternal (double x, double y) |
void | moveInternal (double x, double y) |
void | resetTransformation () |
double | getRotationInternal () |
void | transformMirrorX () |
void | transformMirrorY () |
Point | getAbsolutePosition () |
Point | getTransformedPosition (Point point) |
Point | getRelativePosition (Point absolute) |
void | changeTransformation (Figure relativeTo) |
void | restoreTransformation (Group relativeTo) |
BoundingBox | calculateBoundingBox (Transform base) |
Weitere Geerbte Elemente | |
![]() | |
FillDescriptor | fill |
![]() | |
LineDescriptor | line |
![]() | |
FigureGroup | group |
Transform | transform |
Polygonobjekte werden vom Plotter benutzt.
Definiert in Zeile 21 der Datei Polygon.java.
de.lathanda.eos.geo.Polygon.Polygon | ( | ) |
Definiert in Zeile 25 der Datei Polygon.java.
void de.lathanda.eos.geo.Polygon.addPoint | ( | Point | p | ) |
Definiert in Zeile 68 der Datei Polygon.java.
|
protected |
Erneute Implementation von de.lathanda.eos.geo.Figure.
Definiert in Zeile 141 der Datei Polygon.java.
Figure de.lathanda.eos.geo.Polygon.copy | ( | ) |
Erneute Implementation von de.lathanda.eos.geo.FilledFigure.
Definiert in Zeile 152 der Datei Polygon.java.
|
protected |
Erneute Implementation von de.lathanda.eos.geo.Figure.
Definiert in Zeile 32 der Datei Polygon.java.
|
protected |
Erneute Implementation von de.lathanda.eos.geo.Figure.
Definiert in Zeile 58 der Datei Polygon.java.
boolean de.lathanda.eos.geo.Polygon.isValid | ( | ) |
Definiert in Zeile 62 der Datei Polygon.java.
|
protected |
Eine Streckung findet statt. Interne Maße müssen an die neue Streckung angepasst werden.
factor |
Erneute Implementation von de.lathanda.eos.geo.Figure.
Definiert in Zeile 48 der Datei Polygon.java.
String de.lathanda.eos.geo.Polygon.toString | ( | ) |
Definiert in Zeile 165 der Datei Polygon.java.