IPathSegment
All Implemented Interfaces: java.lang.Cloneable
public interface IPathSegment extends Cloneable
Stellt die Schnittstelle eines beliebigen Pfadsegments dar.
Methoden
| Methode | Beschreibung |
|---|---|
| copy() | Erstellt eine Kopie des Segmentobjekts. |
| shift(double dx, double dy) | Führt Verschiebung um x- und y-Koordinaten durch. |
| transform(TransformationMatrix matrix) | Transformiert Koordinaten mit der Transformationsmatrix. |
copy()
public abstract IPathSegment copy()
Erstellt eine Kopie des Segmentobjekts.
Returns: IPathSegment - Copy of the segment object.
shift(double dx, double dy)
public abstract void shift(double dx, double dy)
Führt Verschiebung um x- und y-Koordinaten durch.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| dx | double | Wert dx. |
| dy | double | Wert dy. |
transform(TransformationMatrix matrix)
public abstract void transform(TransformationMatrix matrix)
Transformiert Koordinaten mit der Transformationsmatrix.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| matrix | TransformationMatrix | Transformationsmatrix. |