Click or drag to resize

RenderContextTest Method (Rectangle, 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 Rectangle lies over an area reserved by an already placed object.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.98.0.0
Syntax
public abstract bool Test(
	Rectangle rect,
	int buffer,
	double angle,
	RenderMask which
)

Parameters

rect
Type: System.DrawingRectangle
The Rectangle area to be tested.
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.
which
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.
Remarks

See Place(Rectangle, Int32, Double, RenderMask) for an explanation of buffer values.

See Also