RenderContextTest Method (Int32, Int32, Int32, Int32, Int32, Double) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Implemented by derived classes to check whether the given screen area overlaps an area reserved by
an already
placed object.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public abstract bool Test(
int x,
int y,
int width,
int height,
int buffer,
double angle
)
Public MustOverride Function Test (
x As Integer,
y As Integer,
width As Integer,
height As Integer,
buffer As Integer,
angle As Double
) As Boolean
Parameters
- x
- Type: SystemInt32
The horizontal position of the top left corner of the rectangle. - y
- Type: SystemInt32
The vertical position of the top left corner of the rectangle. - width
- Type: SystemInt32
The width of the rectangle in pixels - height
- Type: SystemInt32
The height of the rectangle in pixels - buffer
- Type: SystemInt32
The buffer value specifies the number of pixels on each side of the object that must remain
clear of other objects, for the purpose of visual separation. - angle
- Type: SystemDouble
Specifies a clockwise rotation (in degrees) of the testable area.
Return Value
Type:
BooleanTrue if the tested area is available for placement,
false if there is an overlap with an
already-placed area.
Remarks The x, y, width and height parameters describe a rectangle, with the given
height and width, with the top-left corner anchored at the
co-ordinates specified by x and y.
See Also