org.gnu.gnome
Class CanvasRect

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.GObject
          extended by org.gnu.gnome.CanvasItem
              extended by org.gnu.gnome.CanvasShape
                  extended by org.gnu.gnome.CanvasRE
                      extended by org.gnu.gnome.CanvasRect

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may have an equivalent in java-gnome 4.0; have a look for org.gnome.gnome.CanvasRect.

public class CanvasRect
extends CanvasRE

The GnomeCanvasRect is a GnomeCanvasItem that draws itself as a rectangle on a GnomeCanvas.


Constructor Summary
CanvasRect(CanvasGroup group)
          Deprecated.  
CanvasRect(CanvasGroup group, double x1, double y1, double x2, double y2, org.gnu.gdk.Color fill_color, org.gnu.gdk.Color outline_color, org.gnu.gdk.Bitmap fill_stipple, org.gnu.gdk.Bitmap outline_stipple, double width_units)
          Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
CanvasRect(CanvasGroup group, double x1, double y1, double x2, double y2, org.gnu.gdk.Color fill_color, org.gnu.gdk.Color outline_color, org.gnu.gdk.Bitmap fill_stipple, org.gnu.gdk.Bitmap outline_stipple, int width_pixels)
          Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
CanvasRect(CanvasGroup group, double x1, double y1, double x2, double y2, int fill_color, int outline_color, double width_units)
          Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
CanvasRect(CanvasGroup group, double x1, double y1, double x2, double y2, int fill_color, int outline_color, int width_pixels)
          Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
 
Method Summary
static org.gnu.glib.Type getType()
          Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
 
Methods inherited from class org.gnu.gnome.CanvasItem
affineAbsolute, affineRelative, getCanvas, getParent, getX1, getX2, getY1, getY2, hide, lower, lowerToBotton, move, raise, raiseToTop, show
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanvasRect

public CanvasRect(CanvasGroup group)
Deprecated. 

CanvasRect

public CanvasRect(CanvasGroup group,
                  double x1,
                  double y1,
                  double x2,
                  double y2,
                  org.gnu.gdk.Color fill_color,
                  org.gnu.gdk.Color outline_color,
                  org.gnu.gdk.Bitmap fill_stipple,
                  org.gnu.gdk.Bitmap outline_stipple,
                  int width_pixels)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Creates a new CanvasRect object.

Parameters:
group - The parent group for the new CanvasItem.
x1 - The leftmost coordinate.
y1 - The topmost coordinate.
x2 - The rightmost coordinate.
y2 - The bottommost coordinate.
fill_color - Fill color to be used.
outline_color - Outline color or null for transparent.
fill_stipple - Stipple used when drawing fill.
outline_stipple - Stipple used when drawing outline.
width_pixels - Outline width specified in pixels, independent of zoom factor.

CanvasRect

public CanvasRect(CanvasGroup group,
                  double x1,
                  double y1,
                  double x2,
                  double y2,
                  org.gnu.gdk.Color fill_color,
                  org.gnu.gdk.Color outline_color,
                  org.gnu.gdk.Bitmap fill_stipple,
                  org.gnu.gdk.Bitmap outline_stipple,
                  double width_units)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Creates a new CanvasRect object.

Parameters:
group - The parent group for the new CanvasItem.
x1 - The leftmost coordinate.
y1 - The topmost coordinate.
x2 - The rightmost coordinate.
y2 - The bottommost coordinate.
fill_color - Fill color to be used.
outline_color - Outline color or null for transparent.
fill_stipple - Stipple used when drawing fill.
outline_stipple - Stipple used when drawing outline.
width_units - Outline width specified in Canvas units.

CanvasRect

public CanvasRect(CanvasGroup group,
                  double x1,
                  double y1,
                  double x2,
                  double y2,
                  int fill_color,
                  int outline_color,
                  int width_pixels)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Creates a new CanvasRect object.

Parameters:
group - The parent group for the new CanvasItem.
x1 - The leftmost coordinate.
y1 - The topmost coordinate.
x2 - The rightmost coordinate.
y2 - The bottommost coordinate.
fill_color - Fill color to be used.
outline_color - Outline color.
width_pixels - Outline width specified in pixels, independent of zoom factor.

CanvasRect

public CanvasRect(CanvasGroup group,
                  double x1,
                  double y1,
                  double x2,
                  double y2,
                  int fill_color,
                  int outline_color,
                  double width_units)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Creates a new CanvasRect object.

Parameters:
group - The parent group for the new CanvasItem.
x1 - The leftmost coordinate.
y1 - The topmost coordinate.
x2 - The rightmost coordinate.
y2 - The bottommost coordinate.
fill_color - Fill color to be used.
outline_color - Outline color.
width_units - Outline width specified in Canvas units.
Method Detail

getType

public static org.gnu.glib.Type getType()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.