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التحويل الذي سيتم تطبيقه.