Region.IsVisible
IsVisible(float, float)
Tests whether the specified point is contained within this Region
.
public bool IsVisible(float x, float y)
Parameter | Type | Description |
---|---|---|
x | Single | The x-coordinate of the point to test. |
y | Single | The y-coordinate of the point to test. |
Return Value
True when the specified point is contained within this Region
; otherwise, false.
See Also
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(PointF)
Tests whether the specified PointF
structure is contained within this Region
.
public bool IsVisible(PointF point)
Parameter | Type | Description |
---|---|---|
point | PointF | The PointF structure to test. |
Return Value
true when point is contained within this Region
; otherwise, false.
See Also
- struct PointF
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(float, float, Graphics)
Tests whether the specified point is contained within this Region
when drawn using the specified Graphics
.
public bool IsVisible(float x, float y, Graphics g)
Parameter | Type | Description |
---|---|---|
x | Single | The x-coordinate of the point to test. |
y | Single | The y-coordinate of the point to test. |
g | Graphics | A Graphics that represents a graphics context. |
Return Value
True when the specified point is contained within this Region
; otherwise, false.
See Also
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(PointF, Graphics)
Tests whether the specified PointF
structure is contained within this Region
when drawn using the specified Graphics
.
public bool IsVisible(PointF point, Graphics g)
Parameter | Type | Description |
---|---|---|
point | PointF | The PointF structure to test. |
g | Graphics | A Graphics that represents a graphics context. |
Return Value
true when point is contained within this Region
; otherwise, false.
See Also
- struct PointF
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(float, float, float, float)
Tests whether any portion of the specified rectangle is contained within this Region
.
public bool IsVisible(float x, float y, float width, float height)
Parameter | Type | Description |
---|---|---|
x | Single | The x-coordinate of the upper-left corner of the rectangle to test. |
y | Single | The y-coordinate of the upper-left corner of the rectangle to test. |
width | Single | The width of the rectangle to test. |
height | Single | The height of the rectangle to test. |
Return Value
true when any portion of the specified rectangle is contained within this Region
object; otherwise, false.
See Also
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(RectangleF)
Tests whether any portion of the specified RectangleF
structure is contained within this Region
.
public bool IsVisible(RectangleF rect)
Parameter | Type | Description |
---|---|---|
rect | RectangleF | The RectangleF structure to test. |
Return Value
true when any portion of rect is contained within this Region
; otherwise, false.
See Also
- struct RectangleF
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(float, float, float, float, Graphics)
Tests whether any portion of the specified rectangle is contained within this Region
when drawn using the specified Graphics
.
public bool IsVisible(float x, float y, float width, float height, Graphics g)
Parameter | Type | Description |
---|---|---|
x | Single | The x-coordinate of the upper-left corner of the rectangle to test. |
y | Single | The y-coordinate of the upper-left corner of the rectangle to test. |
width | Single | The width of the rectangle to test. |
height | Single | The height of the rectangle to test. |
g | Graphics | A Graphics that represents a graphics context. |
Return Value
true when any portion of the specified rectangle is contained within this Region
; otherwise, false.
See Also
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(RectangleF, Graphics)
Tests whether any portion of the specified RectangleF
structure is contained within this Region
when drawn using the specified Graphics
.
public bool IsVisible(RectangleF rect, Graphics g)
Parameter | Type | Description |
---|---|---|
rect | RectangleF | The RectangleF structure to test. |
g | Graphics | A Graphics that represents a graphics context. |
Return Value
true when rect is contained within this Region
; otherwise, false.
See Also
- struct RectangleF
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(int, int, Graphics)
Tests whether the specified point is contained within this Region
object when drawn using the specified Graphics
object.
public bool IsVisible(int x, int y, Graphics g)
Parameter | Type | Description |
---|---|---|
x | Int32 | The x-coordinate of the point to test. |
y | Int32 | The y-coordinate of the point to test. |
g | Graphics | A Graphics that represents a graphics context. |
Return Value
true when the specified point is contained within this Region
; otherwise, false.
See Also
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(Point)
Tests whether the specified Point
structure is contained within this Region
.
public bool IsVisible(Point point)
Parameter | Type | Description |
---|---|---|
point | Point | The Point structure to test. |
Return Value
true when point is contained within this Region
; otherwise, false.
See Also
- struct Point
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(Point, Graphics)
Tests whether the specified Point
structure is contained within this Region
when drawn using the specified Graphics
.
public bool IsVisible(Point point, Graphics g)
Parameter | Type | Description |
---|---|---|
point | Point | The Point structure to test. |
g | Graphics | A Graphics that represents a graphics context. |
Return Value
true when point is contained within this Region
; otherwise, false.
See Also
- struct Point
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(int, int, int, int)
Tests whether any portion of the specified rectangle is contained within this Region
.
public bool IsVisible(int x, int y, int width, int height)
Parameter | Type | Description |
---|---|---|
x | Int32 | The x-coordinate of the upper-left corner of the rectangle to test. |
y | Int32 | The y-coordinate of the upper-left corner of the rectangle to test. |
width | Int32 | The width of the rectangle to test. |
height | Int32 | The height of the rectangle to test. |
Return Value
true when any portion of the specified rectangle is contained within this Region
; otherwise, false.
See Also
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(Rectangle)
Tests whether any portion of the specified Rectangle
structure is contained within this Region
.
public bool IsVisible(Rectangle rect)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The Rectangle structure to test. |
Return Value
This method returns true when any portion of rect is contained within this Region
; otherwise, false.
See Also
- struct Rectangle
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(int, int, int, int, Graphics)
Tests whether any portion of the specified rectangle is contained within this Region
when drawn using the specified Graphics
.
public bool IsVisible(int x, int y, int width, int height, Graphics g)
Parameter | Type | Description |
---|---|---|
x | Int32 | The x-coordinate of the upper-left corner of the rectangle to test. |
y | Int32 | The y-coordinate of the upper-left corner of the rectangle to test. |
width | Int32 | The width of the rectangle to test. |
height | Int32 | The height of the rectangle to test. |
g | Graphics | A Graphics that represents a graphics context. |
Return Value
true when any portion of the specified rectangle is contained within this Region
; otherwise, false.
See Also
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging
IsVisible(Rectangle, Graphics)
Tests whether any portion of the specified Rectangle
structure is contained within this Region
when drawn using the specified Graphics
.
public bool IsVisible(Rectangle rect, Graphics g)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The Rectangle structure to test. |
g | Graphics | A Graphics that represents a graphics context. |
Return Value
true when any portion of the rect is contained within this Region
; otherwise, false.
See Also
- struct Rectangle
- class Graphics
- class Region
- namespace Aspose.Imaging
- assembly Aspose.Imaging