mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-10-12 09:56:33 +02:00
Parameternamen korrigiert
This commit is contained in:
@@ -50,20 +50,20 @@ public class Arrow extends Line {
|
|||||||
*
|
*
|
||||||
* @param x
|
* @param x
|
||||||
* @param y
|
* @param y
|
||||||
* @param pVektor
|
* @param vector
|
||||||
*/
|
*/
|
||||||
public Arrow( double x, double y, Vector pVektor ) {
|
public Arrow( double x, double y, Vector vector ) {
|
||||||
this(x, y, x + pVektor.x, y + pVektor.y);
|
this(x, y, x + vector.x, y + vector.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Erstellt einen Pfeil als Kopie einer vorgegebenen Linie.
|
* Erstellt einen Pfeil als Kopie einer vorgegebenen Linie.
|
||||||
*
|
*
|
||||||
* @param pLine
|
* @param line
|
||||||
*/
|
*/
|
||||||
public Arrow( Line pLine ) {
|
public Arrow( Line line ) {
|
||||||
this(pLine.x, pLine.y, pLine.x2, pLine.y2);
|
this(line.x, line.y, line.x2, line.y2);
|
||||||
this.copyFrom(pLine);
|
this.copyFrom(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getHeadsize() {
|
public double getHeadsize() {
|
||||||
|
|||||||
Reference in New Issue
Block a user