public interface ResourceHandler
| Modifier and Type | Method and Description |
|---|---|
ResourceDescription |
createResourceDescription(double x,
double y,
String id,
int zindex,
Region region,
URL resourceURL,
boolean sensitivity,
Color stroke,
String params)
Create a description of this resource.
|
ResourceDescription createResourceDescription(double x, double y, String id, int zindex, Region region, URL resourceURL, boolean sensitivity, Color stroke, String params)
x - x-coordinate in sceney - y-coordinate in sceneid - ID of object in scenezindex - z-index (layer). Feed 0 if you don't know.region - containing regionresourceURL - path to bitmap resource (any valid absolute URL)sensitivity - should the glyph representing this resource be made sensitive to cursor events or not.stroke - border color (null if no border)params - a string of parameters specific to each resource type (see documentation for each resource type).Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.