DhHotSpot.DhHotSpot

Overview | Methods | This Package | All Packages

DhHotSpot.DhHotSpot

Creates a DhHotSpot object.

Syntax

public DhHotSpot()

public DhHotSpot( int nShape, int[] coords)

public DhHotSpot( int nShape, int[] coords, String strUrl )

public DhHotSpot( Rectangle r )

Parameters

nShape

The shape of the hotspot, which can be one of the constants defined in DhHotSpotShapes.

coords

An integer array containing coordinates appropriate to the shape.

strUrl

The Uniform Resource Locator (URL) to navigate to when the hotpot is clicked.

r

The Rectangle object containing the rectangle dimensions of the hotspot.

Remarks

The default constructor creates a DhHotSpot with a rectangle shape of 0 height and 0 width.