IPathSegment

All Implemented Interfaces: java.lang.Cloneable

public interface IPathSegment extends Cloneable

Stellt die Schnittstelle eines beliebigen Pfadsegments dar.

Methoden

MethodeBeschreibung
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:

ParameterTypBeschreibung
dxdoubleWert dx.
dydoubleWert dy.

transform(TransformationMatrix matrix)

public abstract void transform(TransformationMatrix matrix)

Transformiert Koordinaten mit der Transformationsmatrix.

Parameters:

ParameterTypBeschreibung
matrixTransformationMatrixTransformationsmatrix.