IPathSegment
All Implemented Interfaces: java.lang.Cloneable
public interface IPathSegment extends Cloneable
تمثل واجهة أي مقطع مسار.
الطرق
| طريقة | الوصف |
|---|---|
| copy() | ينشئ نسخة من كائن الجزء. |
| shift(double dx, double dy) | ينفّذ إزاحة باستخدام إحداثيات x و y. |
| transform(TransformationMatrix matrix) | يحوّل الإحداثيات باستخدام مصفوفة التحويل. |
copy()
public abstract IPathSegment copy()
ينشئ نسخة من كائن الجزء.
Returns: IPathSegment - Copy of the segment object.
shift(double dx, double dy)
public abstract void shift(double dx, double dy)
ينفّذ إزاحة باستخدام إحداثيات x و y.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| dx | double | قيمة dx. |
| dy | double | قيمة dy. |
transform(TransformationMatrix matrix)
public abstract void transform(TransformationMatrix matrix)
يحوّل الإحداثيات باستخدام مصفوفة التحويل.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| matrix | TransformationMatrix | مصفوفة التحويل. |