Microsoft SDK for Java

DhHotSpotShapes.POLYGON

Specifies that the hotspot has a polygon shape.

Syntax

public static final int POLYGON;

Remarks

Coordinates are specified as three or more coordinate pairs; for example, the following coordinates create a triangle.

setCoords(new int[] {10,10,15,15,5,15})

© 1999 Microsoft Corporation. All rights reserved. Terms of use.