DhHotSpot.setCoords

Overview | Methods | This Package | All Packages

DhHotSpot.setCoords

Sets the coordinate string for this DhHotSpot using an integer array, a string, or a rectangle.

Syntax

public void setCoords( int[] nCoordArray )

public void setCoords( String strCoords )

public void setCoords( Rectangle r )

Parameters

nCoordArray

An integer array containing the coordinates. For example, a four-sided shape has coordinates specified as top, left, width, and height (for example, {5,5,10,20}).

strCoords

A string of coordinates appropriate for this shape type. For example, a four-sided shape has coordinates specified as top, left, width, and height (for example, "5,5,10,20").

r

The Rectangle object containing the rectangle dimensions of the hotspot.

Exceptions

WFCException thrown if the coordinates do not match the current shape type.

See Also   getCoordsString, getCoordsIntArray