RenderContextPlace Method (Int32, Int32, Int32, Int32, Int32, Double, RenderMask) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Implemented by derived classes to reserve the specified screen area for object placement.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public abstract void Place(
int x,
int y,
int width,
int height,
int buffer,
double angle,
RenderMask which
)
Public MustOverride Sub Place (
x As Integer,
y As Integer,
width As Integer,
height As Integer,
buffer As Integer,
angle As Double,
which As RenderMask
)
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, 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 place the label on.
Remarks This method should reserve an area of the screen to which an object will be rendered. After placement,
any future calls to Test(Rectangle, Int32, Double, RenderMask) which specify an area that overlaps
with this one will return false.
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