/*
 * Java-Gnome Bindings Library
 *
 * Copyright 1998-2004 the Java-Gnome Team, all rights reserved.
 *
 * The Java-Gnome bindings library is free software distributed under
 * the terms of the GNU Library General Public License version 2.
 */

package org.gnu.gnome;
import org.gnu.glib.Type;
/**
 * A GnomeCanvasPolygon is a GnomeCanvasItem that draws a filled
 * polygon on a GnomeCanvas.
 */
public class CanvasPolygon extends CanvasShape {
	/**
	 * Constructs an instance of CanvasPolygon from a native widget resource.
	 * @param handle The handle to the native widget.
	 */
	CanvasPolygon(int handle) {
		super(handle);
	}

	/**
	 * Retrieve the runtime type used by the GLib library.
	 */
	public static Type getType() {
		return new Type(gnome_canvas_polygon_get_type());
	}

	/****************************************
	 * BEGINNING OF GENERATED CODE
	 ****************************************/
	native static final protected int gnome_canvas_polygon_get_type();
	/****************************************
	 * END OF GENERATED CODE
	 ****************************************/
}
