ObjectWithBounds

Inheritance: java.lang.Object

public abstract class ObjectWithBounds

الكائن الذي له حدود.

المنشئات

المنشئالوصف
ObjectWithBounds()

الطرق

طريقةالوصف
getBounds()يحصل على حدود الكائن.
getBounds(Matrix matrix)يحصل على حدود الكائن.
getBounds(Matrix matrix, Pen pen)يحصل على حدود الكائن.
transform(Matrix transform)يطبق التحويل المحدد على الشكل.

ObjectWithBounds()

public ObjectWithBounds()

getBounds()

public abstract RectangleF getBounds()

يحصل على حدود الكائن.

Returns: RectangleF - The object’s bounds.

getBounds(Matrix matrix)

public abstract RectangleF getBounds(Matrix matrix)

يحصل على حدود الكائن.

Parameters:

معاملنوعالوصف
matrixMatrixالمصفوفة التي سيتم تطبيقها قبل حساب الحدود.

Returns: RectangleF - The estimated object’s bounds.

getBounds(Matrix matrix, Pen pen)

public abstract RectangleF getBounds(Matrix matrix, Pen pen)

يحصل على حدود الكائن.

Parameters:

معاملنوعالوصف
matrixMatrixالمصفوفة التي سيتم تطبيقها قبل حساب الحدود.
penPenالقلم المستخدم للكائن. يمكن أن يؤثر ذلك على حجم حدود الكائن.

Returns: RectangleF - The estimated object’s bounds.

transform(Matrix transform)

public abstract void transform(Matrix transform)

يطبق التحويل المحدد على الشكل.

Parameters:

معاملنوعالوصف
transformMatrixالتحويل المراد تطبيقه.