Click or drag to resize

RenderContextTest Method (Int32, Int32, Int32, Int32, Int32, Double, RenderMask)

Verizon Connect Logo
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: (in Version:
public abstract bool Test(
	int x,
	int y,
	int width,
	int height,
	int buffer,
	double angle,
	RenderMask which


Type: SystemInt32
The horizontal position of the top left corner of the rectangle.
Type: SystemInt32
The vertical position of the top left corner of the rectangle.
Type: SystemInt32
The width of the rectangle in pixels
Type: SystemInt32
The height of the rectangle in pixels
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.
Type: SystemDouble
Specifies a clockwise rotation (in degrees) of the testable area.
Type: Telogis.GeoBaseRenderMask
Specifies which RenderMask layer to test.

Return Value

Type: Boolean
True if the tested area is available for placement, false if there is an overlap with an already-placed area.

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 Place(Rectangle, Int32, Double, RenderMask) for an explanation of buffer values.

See Also