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:
| معامل | نوع | الوصف |
|---|---|---|
| x | float | الإحداثي السيني للنقطة المراد اختبارها. |
| y | float | الإحداثي الصادي للنقطة المراد اختبارها. |
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:
| معامل | نوع | الوصف |
|---|---|---|
| x | float | الإحداثي السيني للنقطة المراد اختبارها. |
| y | float | الإحداثي الصادي للنقطة المراد اختبارها. |
| 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:
| معامل | نوع | الوصف |
|---|---|---|
| x | float | الإحداثي X للزاوية العلوية اليسرى للمستطيل للاختبار. |
| y | float | الإحداثي Y للزاوية العلوية اليسرى للمستطيل للاختبار. |
| width | float | العرض للمستطيل للاختبار. |
| height | 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:
| معامل | نوع | الوصف |
|---|---|---|
| x | float | الإحداثي X للزاوية العلوية اليسرى للمستطيل للاختبار. |
| y | float | الإحداثي Y للزاوية العلوية اليسرى للمستطيل للاختبار. |
| width | float | العرض للمستطيل للاختبار. |
| height | 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:
| معامل | نوع | الوصف |
|---|---|---|
| x | int | الإحداثي السيني للنقطة المراد اختبارها. |
| y | int | الإحداثي الصادي للنقطة المراد اختبارها. |
| 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:
| معامل | نوع | الوصف |
|---|---|---|
| x | int | الإحداثي X للزاوية العلوية اليسرى للمستطيل للاختبار. |
| y | int | الإحداثي Y للزاوية العلوية اليسرى للمستطيل للاختبار. |
| width | int | العرض للمستطيل للاختبار. |
| height | 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:
| معامل | نوع | الوصف |
|---|---|---|
| x | int | الإحداثي X للزاوية العلوية اليسرى للمستطيل للاختبار. |
| y | int | الإحداثي Y للزاوية العلوية اليسرى للمستطيل للاختبار. |
| width | int | العرض للمستطيل للاختبار. |
| height | 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 - رمز التجزئة.