Region
Inheritance: java.lang.Object
public final class Region
يصف داخل الشكل الرسومي المكوّن من المستطيلات والمسارات. لا يمكن وراثة هذه الفئة.
المنشئات
| المنشئ | الوصف |
|---|---|
| Region() | يقوم بتهيئة Region جديد. |
| Region(RectangleF rect) | يقوم بتهيئة T:Aspose.Imaging.Region جديد من البنية المحددة T:Aspose.Imaging.RectangleF. |
| Region(Rectangle rect) | يقوم بتهيئة T:Aspose.Imaging.Region جديد من البنية المحددة T:Aspose.Imaging.Rectangle. |
| Region(GraphicsPath path) | يقوم بتهيئة T:Aspose.Imaging.Region جديد باستخدام T:Aspose.Imaging.GraphicsPath المحدد. |
الطرق
| طريقة | الوصف |
|---|---|
| deepClone() | ينشئ نسخة عميقة دقيقة من هذا com.aspose.imaging.region. |
| makeInfinite() | يقوم بتهيئة كائن com.aspose.imaging.Region هذا إلى داخل لا نهائي. |
| makeEmpty() | يقوم بتهيئة com.aspose.imaging.Region هذا إلى داخل فارغ. |
| intersect(RectangleF rect) | يقوم بتحديث com.aspose.imaging.Region هذا إلى تقاطع نفسه مع البنية المحددة com.aspose.imaging.RectangleF. |
| intersect(Rectangle rect) | يقوم بتحديث com.aspose.imaging.Region هذا إلى تقاطع نفسه مع البنية المحددة com.aspose.imaging.Rectangle. |
| intersect(GraphicsPath path) | يقوم بتحديث com.aspose.imaging.Region هذا إلى تقاطع نفسه مع البنية المحددة com.aspose.imaging.graphicsPath. |
| intersect(Region region) | يقوم بتحديث com.aspose.imaging.Region هذا إلى تقاطع نفسه مع البنية المحددة com.aspose.imaging.region. |
| union(RectangleF rect) | يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد نفسه مع البنية المحددة com.aspose.imaging.RectangleF. |
| union(Rectangle rect) | يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد نفسه مع البنية المحددة com.aspose.imaging.Rectangle. |
| union(GraphicsPath path) | يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد نفسه مع البنية المحددة com.aspose.imaging.graphicsPath. |
| union(Region region) | يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد نفسه مع البنية المحددة com.aspose.imaging.region. |
| xor(RectangleF rect) | يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد مع طرح تقاطع نفسه مع البنية المحددة com.aspose.imaging.RectangleF. |
| xor(Rectangle rect) | يقوم بتحديث هذا com.aspose.imaging.Region إلى الاتحاد مطروحًا منه تقاطع نفسه مع بنية com.aspose.imaging.Rectangle المحددة. |
| xor(GraphicsPath path) | يقوم بتحديث هذا com.aspose.imaging.Region إلى الاتحاد مطروحًا منه تقاطع نفسه مع com.aspose.imaging.graphicsPath المحدد. |
| xor(Region region) | يقوم بتحديث هذا com.aspose.imaging.Region إلى الاتحاد مطروحًا منه تقاطع نفسه مع com.aspose.imaging.region المحدد. |
| exclude(RectangleF rect) | يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي فقط على الجزء من داخله الذي لا يتقاطع مع بنية com.aspose.imaging.RectangleF المحددة. |
| exclude(Rectangle rect) | يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي فقط على الجزء من داخله الذي لا يتقاطع مع بنية com.aspose.imaging.Rectangle المحددة. |
| exclude(GraphicsPath path) | يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي فقط على الجزء من داخله الذي لا يتقاطع مع com.aspose.imaging.graphicsPath المحدد. |
| exclude(Region region) | يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي فقط على الجزء من داخله الذي لا يتقاطع مع com.aspose.imaging.region المحدد. |
| complement(RectangleF rect) | يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي على الجزء من بنية com.aspose.imaging.RectangleF المحددة الذي لا يتقاطع مع هذا com.aspose.imaging.region. |
| complement(Rectangle rect) | يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي على الجزء من بنية com.aspose.imaging.Rectangle المحددة الذي لا يتقاطع مع هذا com.aspose.imaging.region. |
| complement(GraphicsPath path) | يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي على الجزء من com.aspose.imaging.GraphicsPath المحدد الذي لا يتقاطع مع هذا com.aspose.imaging.region. |
| complement(Region region) | يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي على الجزء من com.aspose.imaging.Region المحدد الذي لا يتقاطع مع هذا com.aspose.imaging.region. |
| translate(float dx, float dy) | يقوم بإزاحة إحداثيات هذا com.aspose.imaging.Region بالمقدار المحدد. |
| translate(int dx, int dy) | يقوم بإزاحة إحداثيات هذا com.aspose.imaging.Region بالمقدار المحدد. |
| transform(Matrix matrix) | يقوم بتحويل هذا com.aspose.imaging.Region باستخدام com.aspose.imaging.matrix المحدد. |
| isEmpty(Graphics g) | يفحص ما إذا كان لهذا com.aspose.imaging.Region داخل فارغ على سطح الرسم المحدد. |
| isInfinite(Graphics g) | يفحص ما إذا كان لهذا com.aspose.imaging.Region داخل لا نهائي على سطح الرسم المحدد. |
| isEquals(Region region, Graphics g) | يفحص ما إذا كانت com.aspose.imaging.Region المحددة مطابقة لهذا com.aspose.imaging.Region على سطح الرسم المحدد. |
| isVisible(float x, float y) | يفحص ما إذا كانت النقطة المحددة موجودة داخل هذا com.aspose.imaging.region. |
| isVisible(PointF point) | يفحص ما إذا كانت بنية com.aspose.imaging.PointF المحددة موجودة داخل هذا com.aspose.imaging.region. |
| isVisible(float x, float y, Graphics g) | يفحص ما إذا كانت النقطة المحددة موجودة داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد. |
| isVisible(PointF point, Graphics g) | يفحص ما إذا كانت بنية com.aspose.imaging.PointF المحددة موجودة داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد. |
| isVisible(float x, float y, float width, float height) | يفحص ما إذا كان أي جزء من المستطيل المحدد موجودًا داخل هذا com.aspose.imaging.region. |
| isVisible(RectangleF rect) | يفحص ما إذا كان أي جزء من بنية com.aspose.imaging.RectangleF المحددة موجودًا داخل هذا com.aspose.imaging.region. |
| isVisible(float x, float y, float width, float height, Graphics g) | يفحص ما إذا كان أي جزء من المستطيل المحدد موجودًا داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد. |
| isVisible(RectangleF rect, Graphics g) | يفحص ما إذا كان أي جزء من بنية com.aspose.imaging.RectangleF المحددة موجودًا داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد. |
| isVisible(int x, int y, Graphics g) | يفحص ما إذا كانت النقطة المحددة موجودة داخل كائن com.aspose.imaging.Region هذا عند الرسم باستخدام كائن com.aspose.imaging.Graphics المحدد. |
| isVisible(Point point) | يفحص ما إذا كان هيكل com.aspose.imaging.Point المحدد موجودًا داخل هذا com.aspose.imaging.region. |
| isVisible(Point point, Graphics g) | يفحص ما إذا كان هيكل com.aspose.imaging.Point المحدد موجودًا داخل هذا com.aspose.imaging.Region عند رسمه باستخدام com.aspose.imaging.graphics المحدد. |
| isVisible(int x, int y, int width, int height) | يفحص ما إذا كان أي جزء من المستطيل المحدد موجودًا داخل هذا com.aspose.imaging.region. |
| isVisible(Rectangle rect) | يفحص ما إذا كان أي جزء من هيكل com.aspose.imaging.Rectangle المحدد موجودًا داخل هذا com.aspose.imaging.region. |
| isVisible(int x, int y, int width, int height, Graphics g) | يفحص ما إذا كان أي جزء من المستطيل المحدد موجودًا داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد. |
| isVisible(Rectangle rect, Graphics g) | يفحص ما إذا كان أي جزء من هيكل com.aspose.imaging.Rectangle المحدد موجودًا داخل هذا com.aspose.imaging.Region عند رسمه باستخدام com.aspose.imaging.graphics المحدد. |
| equals(Object o) | تحقق مما إذا كانت الكائنات متساوية. |
| hashCode() | احصل على رمز التجزئة للكائن الحالي. |
Region()
public Region()
يقوم بتهيئة Region جديد.
Region(RectangleF rect)
public Region(RectangleF rect)
يقوم بتهيئة T:Aspose.Imaging.Region جديد من البنية المحددة T:Aspose.Imaging.RectangleF.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | RectangleF | هيكل T:Aspose.Imaging.RectangleF يحدد داخل المنطقة الجديدة T:Aspose.Imaging.Region. |
Region(Rectangle rect)
public Region(Rectangle rect)
يقوم بتهيئة T:Aspose.Imaging.Region جديد من البنية المحددة T:Aspose.Imaging.Rectangle.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | Rectangle | هيكل T:Aspose.Imaging.Rectangle يحدد داخل المنطقة الجديدة T:Aspose.Imaging.Region. |
Region(GraphicsPath path)
public Region(GraphicsPath path)
يقوم بتهيئة T:Aspose.Imaging.Region جديد باستخدام T:Aspose.Imaging.GraphicsPath المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| path | GraphicsPath | T:Aspose.Imaging.GraphicsPath يحدد المنطقة الجديدة T:Aspose.Imaging.Region. |
deepClone()
public Region deepClone()
ينشئ نسخة عميقة دقيقة من هذا com.aspose.imaging.region.
Returns:
Region - The com.aspose.imaging.Region that this method creates.
makeInfinite()
public void makeInfinite()
يقوم بتهيئة كائن com.aspose.imaging.Region هذا إلى داخل لا نهائي.
makeEmpty()
public void makeEmpty()
يقوم بتهيئة com.aspose.imaging.Region هذا إلى داخل فارغ.
intersect(RectangleF rect)
public void intersect(RectangleF rect)
يقوم بتحديث com.aspose.imaging.Region هذا إلى تقاطع نفسه مع البنية المحددة com.aspose.imaging.RectangleF.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | RectangleF | هيكل com.aspose.imaging.RectangleF لتقاطع مع هذا com.aspose.imaging.region. |
intersect(Rectangle rect)
public void intersect(Rectangle rect)
يقوم بتحديث com.aspose.imaging.Region هذا إلى تقاطع نفسه مع البنية المحددة com.aspose.imaging.Rectangle.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | Rectangle | هيكل com.aspose.imaging.Rectangle لتقاطع مع هذا com.aspose.imaging.region. |
intersect(GraphicsPath path)
public void intersect(GraphicsPath path)
يقوم بتحديث com.aspose.imaging.Region هذا إلى تقاطع نفسه مع البنية المحددة com.aspose.imaging.graphicsPath.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| path | GraphicsPath | com.aspose.imaging.GraphicsPath لتقاطع مع هذا com.aspose.imaging.region. |
intersect(Region region)
public void intersect(Region region)
يقوم بتحديث com.aspose.imaging.Region هذا إلى تقاطع نفسه مع البنية المحددة com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| region | Region | com.aspose.imaging.Region لتقاطع مع هذا com.aspose.imaging.region. |
union(RectangleF rect)
public void union(RectangleF rect)
يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد نفسه مع البنية المحددة com.aspose.imaging.RectangleF.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | RectangleF | هيكل com.aspose.imaging.RectangleF للاتحاد مع هذا com.aspose.imaging.region. |
union(Rectangle rect)
public void union(Rectangle rect)
يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد نفسه مع البنية المحددة com.aspose.imaging.Rectangle.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | Rectangle | هيكل com.aspose.imaging.Rectangle للاتحاد مع هذا com.aspose.imaging.region. |
union(GraphicsPath path)
public void union(GraphicsPath path)
يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد نفسه مع البنية المحددة com.aspose.imaging.graphicsPath.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| path | GraphicsPath | com.aspose.imaging.GraphicsPath للاتحاد مع هذا com.aspose.imaging.region. |
union(Region region)
public void union(Region region)
يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد نفسه مع البنية المحددة com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| region | Region | com.aspose.imaging.Region للاتحاد مع هذا com.aspose.imaging.region. |
xor(RectangleF rect)
public void xor(RectangleF rect)
يقوم بتحديث com.aspose.imaging.Region هذا إلى اتحاد مع طرح تقاطع نفسه مع البنية المحددة com.aspose.imaging.RectangleF.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | RectangleF | هيكل com.aspose.imaging.RectangleF لعملية XOR مع هذا com.aspose.imaging.region. |
xor(Rectangle rect)
public void xor(Rectangle rect)
يقوم بتحديث هذا com.aspose.imaging.Region إلى الاتحاد مطروحًا منه تقاطع نفسه مع بنية com.aspose.imaging.Rectangle المحددة.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | Rectangle | هيكل com.aspose.imaging.Rectangle لعملية XOR مع هذا com.aspose.imaging.region. |
xor(GraphicsPath path)
public void xor(GraphicsPath path)
يقوم بتحديث هذا com.aspose.imaging.Region إلى الاتحاد مطروحًا منه تقاطع نفسه مع com.aspose.imaging.graphicsPath المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| path | GraphicsPath | com.aspose.imaging.GraphicsPath لعملية XOR مع هذا com.aspose.imaging.region. |
xor(Region region)
public void xor(Region region)
يقوم بتحديث هذا com.aspose.imaging.Region إلى الاتحاد مطروحًا منه تقاطع نفسه مع com.aspose.imaging.region المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| region | Region | com.aspose.imaging.Region لعملية XOR مع هذا com.aspose.imaging.region. |
exclude(RectangleF rect)
public void exclude(RectangleF rect)
يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي فقط على الجزء من داخله الذي لا يتقاطع مع بنية com.aspose.imaging.RectangleF المحددة.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | RectangleF | هيكل com.aspose.imaging.RectangleF لاستبعاد من هذا com.aspose.imaging.region. |
exclude(Rectangle rect)
public void exclude(Rectangle rect)
يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي فقط على الجزء من داخله الذي لا يتقاطع مع بنية com.aspose.imaging.Rectangle المحددة.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | Rectangle | هيكل com.aspose.imaging.Rectangle لاستبعاد من هذا com.aspose.imaging.region. |
exclude(GraphicsPath path)
public void exclude(GraphicsPath path)
يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي فقط على الجزء من داخله الذي لا يتقاطع مع com.aspose.imaging.graphicsPath المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| path | GraphicsPath | com.aspose.imaging.GraphicsPath لاستبعاد من هذا com.aspose.imaging.region. |
exclude(Region region)
public void exclude(Region region)
يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي فقط على الجزء من داخله الذي لا يتقاطع مع com.aspose.imaging.region المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| region | Region | com.aspose.imaging.Region لاستبعاد من هذا com.aspose.imaging.region. |
complement(RectangleF rect)
public void complement(RectangleF rect)
يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي على الجزء من بنية com.aspose.imaging.RectangleF المحددة الذي لا يتقاطع مع هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | RectangleF | هيكل com.aspose.imaging.RectangleF لتكملة هذا com.aspose.imaging.region. |
complement(Rectangle rect)
public void complement(Rectangle rect)
يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي على الجزء من بنية com.aspose.imaging.Rectangle المحددة الذي لا يتقاطع مع هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | Rectangle | هيكل com.aspose.imaging.Rectangle لتكملة هذا com.aspose.imaging.region. |
complement(GraphicsPath path)
public void complement(GraphicsPath path)
يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي على الجزء من com.aspose.imaging.GraphicsPath المحدد الذي لا يتقاطع مع هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| path | GraphicsPath | الـ com.aspose.imaging.GraphicsPath لتكملة هذا com.aspose.imaging.region. |
complement(Region region)
public void complement(Region region)
يقوم بتحديث هذا com.aspose.imaging.Region ليحتوي على الجزء من com.aspose.imaging.Region المحدد الذي لا يتقاطع مع هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| region | Region | الكائن com.aspose.imaging.Region لتكملة هذا الكائن com.aspose.imaging.Region. |
translate(float dx, float dy)
public void translate(float dx, float dy)
يقوم بإزاحة إحداثيات هذا com.aspose.imaging.Region بالمقدار المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| dx | float | المقدار لإزاحة هذا com.aspose.imaging.Region أفقياً. |
| dy | float | المقدار لإزاحة هذا com.aspose.imaging.Region رأسياً. |
translate(int dx, int dy)
public void translate(int dx, int dy)
يقوم بإزاحة إحداثيات هذا com.aspose.imaging.Region بالمقدار المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| dx | int | المقدار لإزاحة هذا com.aspose.imaging.Region أفقياً. |
| dy | int | المقدار لإزاحة هذا com.aspose.imaging.Region رأسياً. |
transform(Matrix matrix)
public void transform(Matrix matrix)
يقوم بتحويل هذا com.aspose.imaging.Region باستخدام com.aspose.imaging.matrix المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| matrix | Matrix | الـ com.aspose.imaging.Matrix التي تُستخدم لتحويل هذا com.aspose.imaging.region. |
isEmpty(Graphics g)
public boolean isEmpty(Graphics g)
يفحص ما إذا كان لهذا com.aspose.imaging.Region داخل فارغ على سطح الرسم المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سطح رسم. |
Returns:
منطقي - true إذا كان داخل هذا com.aspose.imaging.Region فارغًا عند تطبيق التحويل المرتبط بـ g؛ وإلا، false.
isInfinite(Graphics g)
public boolean isInfinite(Graphics g)
يفحص ما إذا كان لهذا com.aspose.imaging.Region داخل لا نهائي على سطح الرسم المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سطح رسم. |
Returns:
منطقي - true إذا كان داخل هذا com.aspose.imaging.Region لا نهائيًا عند تطبيق التحويل المرتبط بـ g؛ وإلا، false.
isEquals(Region region, Graphics g)
public boolean isEquals(Region region, Graphics g)
يفحص ما إذا كانت com.aspose.imaging.Region المحددة مطابقة لهذا com.aspose.imaging.Region على سطح الرسم المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| region | Region | الـ com.aspose.imaging.Region للاختبار. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سطح رسم. |
Returns:
منطقي - True إذا كان داخل المنطقة مطابقة لداخل هذه المنطقة عند تطبيق التحويل المرتبط بالمعامل g؛ وإلا، false.
isVisible(float x, float y)
public boolean isVisible(float x, float y)
يفحص ما إذا كانت النقطة المحددة موجودة داخل هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| س | float | إحداثي x للنقطة المراد اختبارها. |
| ص | float | إحداثي y للنقطة المراد اختبارها. |
Returns:
منطقي - True عندما تكون النقطة المحددة داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(PointF point)
public boolean isVisible(PointF point)
يفحص ما إذا كانت بنية com.aspose.imaging.PointF المحددة موجودة داخل هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| point | PointF | الـ com.aspose.imaging.PointF لاختبار. |
Returns:
منطقي - true عندما تكون point داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(float x, float y, Graphics g)
public boolean isVisible(float x, float y, Graphics g)
يفحص ما إذا كانت النقطة المحددة موجودة داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| س | float | إحداثي x للنقطة المراد اختبارها. |
| ص | float | إحداثي y للنقطة المراد اختبارها. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سياق رسومي. |
Returns:
منطقي - True عندما تكون النقطة المحددة داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(PointF point, Graphics g)
public boolean isVisible(PointF point, Graphics g)
يفحص ما إذا كانت بنية com.aspose.imaging.PointF المحددة موجودة داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| point | PointF | الـ com.aspose.imaging.PointF لاختبار. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سياق رسومي. |
Returns:
منطقي - true عندما تكون point داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(float x, float y, float width, float height)
public boolean isVisible(float x, float y, float width, float height)
يفحص ما إذا كان أي جزء من المستطيل المحدد موجودًا داخل هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| س | float | الإحداثي السيني للزاوية العليا اليسرى للمستطيل المراد اختباره. |
| ص | float | الإحداثي الصادي للزاوية العليا اليسرى للمستطيل المراد اختباره. |
| العرض | float | عرض المستطيل المراد اختباره. |
| الارتفاع | float | ارتفاع المستطيل المراد اختباره. |
Returns:
منطقي - true عندما يكون أي جزء من المستطيل المحدد داخل كائن com.aspose.imaging.Region هذا؛ وإلا، false.
isVisible(RectangleF rect)
public boolean isVisible(RectangleF rect)
يفحص ما إذا كان أي جزء من بنية com.aspose.imaging.RectangleF المحددة موجودًا داخل هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | RectangleF | الـ com.aspose.imaging.RectangleF لاختبار. |
Returns:
منطقي - true عندما يكون أي جزء من rect داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(float x, float y, float width, float height, Graphics g)
public boolean isVisible(float x, float y, float width, float height, Graphics g)
يفحص ما إذا كان أي جزء من المستطيل المحدد موجودًا داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| س | float | الإحداثي السيني للزاوية العليا اليسرى للمستطيل المراد اختباره. |
| ص | float | الإحداثي الصادي للزاوية العليا اليسرى للمستطيل المراد اختباره. |
| العرض | float | عرض المستطيل المراد اختباره. |
| الارتفاع | float | ارتفاع المستطيل المراد اختباره. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سياق رسومي. |
Returns:
منطقي - true عندما يكون أي جزء من المستطيل المحدد داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(RectangleF rect, Graphics g)
public boolean isVisible(RectangleF rect, Graphics g)
يفحص ما إذا كان أي جزء من بنية com.aspose.imaging.RectangleF المحددة موجودًا داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | RectangleF | الـ com.aspose.imaging.RectangleF لاختبار. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سياق رسومي. |
Returns:
منطقي - true عندما تكون rect داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(int x, int y, Graphics g)
public boolean isVisible(int x, int y, Graphics g)
يفحص ما إذا كانت النقطة المحددة موجودة داخل كائن com.aspose.imaging.Region هذا عند الرسم باستخدام كائن com.aspose.imaging.Graphics المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| س | int | إحداثي x للنقطة المراد اختبارها. |
| ص | int | إحداثي y للنقطة المراد اختبارها. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سياق رسومي. |
Returns:
منطقي - true عندما تكون النقطة المحددة داخل هذا com.aspose.imaging.Region؛ وإلا false.
isVisible(Point point)
public boolean isVisible(Point point)
يفحص ما إذا كان هيكل com.aspose.imaging.Point المحدد موجودًا داخل هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| point | Point | الهيكل com.aspose.imaging.Point للاختبار. |
Returns:
منطقي - true عندما تكون point داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(Point point, Graphics g)
public boolean isVisible(Point point, Graphics g)
يفحص ما إذا كان هيكل com.aspose.imaging.Point المحدد موجودًا داخل هذا com.aspose.imaging.Region عند رسمه باستخدام com.aspose.imaging.graphics المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| point | Point | الهيكل com.aspose.imaging.Point للاختبار. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سياق رسومي. |
Returns:
منطقي - true عندما تكون point داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(int x, int y, int width, int height)
public boolean isVisible(int x, int y, int width, int height)
يفحص ما إذا كان أي جزء من المستطيل المحدد موجودًا داخل هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| س | int | الإحداثي السيني للزاوية العليا اليسرى للمستطيل المراد اختباره. |
| ص | int | الإحداثي الصادي للزاوية العليا اليسرى للمستطيل المراد اختباره. |
| العرض | int | عرض المستطيل المراد اختباره. |
| الارتفاع | int | ارتفاع المستطيل المراد اختباره. |
Returns:
منطقي - true عندما يكون أي جزء من المستطيل المحدد داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(Rectangle rect)
public boolean isVisible(Rectangle rect)
يفحص ما إذا كان أي جزء من هيكل com.aspose.imaging.Rectangle المحدد موجودًا داخل هذا com.aspose.imaging.region.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | Rectangle | الهيكل com.aspose.imaging.Rectangle للاختبار. |
Returns:
منطقي - تُرجع هذه الطريقة true عندما يكون أي جزء من rect داخل هذا com.aspose.imaging.Region؛ وإلا false.
isVisible(int x, int y, int width, int height, Graphics g)
public boolean isVisible(int x, int y, int width, int height, Graphics g)
يفحص ما إذا كان أي جزء من المستطيل المحدد موجودًا داخل هذا com.aspose.imaging.Region عند الرسم باستخدام com.aspose.imaging.graphics المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| س | int | الإحداثي السيني للزاوية العليا اليسرى للمستطيل المراد اختباره. |
| ص | int | الإحداثي الصادي للزاوية العليا اليسرى للمستطيل المراد اختباره. |
| العرض | int | عرض المستطيل المراد اختباره. |
| الارتفاع | int | ارتفاع المستطيل المراد اختباره. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سياق رسومي. |
Returns:
منطقي - true عندما يكون أي جزء من المستطيل المحدد داخل هذا com.aspose.imaging.Region؛ وإلا، false.
isVisible(Rectangle rect, Graphics g)
public boolean isVisible(Rectangle rect, Graphics g)
يفحص ما إذا كان أي جزء من هيكل com.aspose.imaging.Rectangle المحدد موجودًا داخل هذا com.aspose.imaging.Region عند رسمه باستخدام com.aspose.imaging.graphics المحدد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| rect | Rectangle | الهيكل com.aspose.imaging.Rectangle للاختبار. |
| g | Graphics | كائن com.aspose.imaging.Graphics يمثل سياق رسومي. |
Returns:
منطقي - true عندما يكون أي جزء من rect داخل هذا com.aspose.imaging.Region؛ وإلا false.
equals(Object o)
public boolean equals(Object o)
تحقق مما إذا كانت الكائنات متساوية.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| o | java.lang.Object | الكائن الآخر. |
Returns: boolean - نتيجة مقارنة المساواة.
hashCode()
public int hashCode()
احصل على رمز التجزئة للكائن الحالي.
Returns: int - رمز التجزئة.