RasterMouse.showDropBorder( x, y, width, height [, cssCursor] )
Displays a floating semi-transparent border at the given x,y coordinates, width and height.This function can be used from within a user-defined
dropHandler()
function to highlight the drop target as
the mouse cursor moves. The border box is automatically hidden when
a drop operation is completed, cancelled or the mouse leaves a valid
drop area.
Parameters
Name | Type | Description | |
---|---|---|---|
x | number |
X position in pixels. Set this argument
to null to hide the shade box. When set to null
all other arguments (if any) are ignored. |
|
y | number | Y position in pixels | |
width | number | width of the box | |
height | number | height of the box | |
cssCursor | string | optional | a valid css cursor name. If this value is not specified, the current cursor is used. |