org.gnu.gnome

Class CanvasRE

Known Direct Subclasses:
CanvasEllipse, CanvasRect

public class CanvasRE
extends CanvasShape

This is a base class that acts as a parent for both GnomeCanvasRect and GnomeCanvasEllipse. This base class includes information pertaining to colors and sizes, but the two decendents contain the drawing details.

Field Summary

protected static String
ARG_NAME_FILL_COLOR
protected static String
ARG_NAME_FILL_COLOR_GDK
protected static String
ARG_NAME_FILL_COLOR_RGBA
protected static String
ARG_NAME_FILL_STIPPLE
protected static String
ARG_NAME_OUTLINE_COLOR
protected static String
ARG_NAME_OUTLINE_COLOR_GDK
protected static String
ARG_NAME_OUTLINE_COLOR_RGBA
protected static String
ARG_NAME_OUTLINE_STIPPLE
protected static String
ARG_NAME_WIDTH_PIXELS
protected static String
ARG_NAME_WIDTH_UNITS
protected static String
ARG_NAME_X1
protected static String
ARG_NAME_X2
protected static String
ARG_NAME_Y1
protected static String
ARG_NAME_Y2

Constructor Summary

CanvasRE(CanvasGroup group, int type)

Method Summary

static Type
getType()
Retrieve the runtime type used by the GLib library.
protected static int
gnome_canvas_re_get_type()
protected static Handle
gnome_canvas_re_new_gdk_wpix(Handle group, int type, double x1, double y1, double x2, double y2, Handle fill_color, Handle outline_color, Handle fill_stipple, Handle outline_stipple, int width_pixels)
protected static Handle
gnome_canvas_re_new_gdk_wunit(Handle group, int type, double x1, double y1, double x2, double y2, Handle fill_color, Handle outline_color, Handle fill_stipple, Handle outline_stipple, double width_units)
protected static Handle
gnome_canvas_re_new_rgba_wpix(Handle group, int type, double x1, double y1, double x2, double y2, int fill_color, int outline_color, int width_pixels)
protected static Handle
gnome_canvas_re_new_rgba_wunit(Handle group, int type, double x1, double y1, double x2, double y2, int fill_color, int outline_color, double width_units)
protected static void
gnome_canvas_request_redraw(Handle canvas, int x1, int y1, int x2, int y2)

Methods inherited from class org.gnu.gnome.CanvasShape

getType, gnome_canvas_shape_get_path_def, gnome_canvas_shape_get_type, gnome_canvas_shape_set_path_def

Methods inherited from class org.gnu.gnome.CanvasItem

affineAbsolute, affineRelative, getCanvas, getCanvas, getParent, getParent, getType, getX1, getX1, getX2, getX2, getY1, getY1, getY2, getY2, gnome_canvas_item_affine_absolute, gnome_canvas_item_affine_relative, gnome_canvas_item_get_type, gnome_canvas_item_grab, gnome_canvas_item_grab_focus, gnome_canvas_item_hide, gnome_canvas_item_lower, gnome_canvas_item_lower_to_bottom, gnome_canvas_item_move, gnome_canvas_item_new, gnome_canvas_item_raise, gnome_canvas_item_raise_to_top, gnome_canvas_item_reparent, gnome_canvas_item_request_update, gnome_canvas_item_show, gnome_canvas_item_ungrab, hide, lower, lowerToBotton, move, raise, raiseToTop, show

Field Details

ARG_NAME_FILL_COLOR

protected static String ARG_NAME_FILL_COLOR


ARG_NAME_FILL_COLOR_GDK

protected static String ARG_NAME_FILL_COLOR_GDK


ARG_NAME_FILL_COLOR_RGBA

protected static String ARG_NAME_FILL_COLOR_RGBA


ARG_NAME_FILL_STIPPLE

protected static String ARG_NAME_FILL_STIPPLE


ARG_NAME_OUTLINE_COLOR

protected static String ARG_NAME_OUTLINE_COLOR


ARG_NAME_OUTLINE_COLOR_GDK

protected static String ARG_NAME_OUTLINE_COLOR_GDK


ARG_NAME_OUTLINE_COLOR_RGBA

protected static String ARG_NAME_OUTLINE_COLOR_RGBA


ARG_NAME_OUTLINE_STIPPLE

protected static String ARG_NAME_OUTLINE_STIPPLE


ARG_NAME_WIDTH_PIXELS

protected static String ARG_NAME_WIDTH_PIXELS


ARG_NAME_WIDTH_UNITS

protected static String ARG_NAME_WIDTH_UNITS


ARG_NAME_X1

protected static String ARG_NAME_X1


ARG_NAME_X2

protected static String ARG_NAME_X2


ARG_NAME_Y1

protected static String ARG_NAME_Y1


ARG_NAME_Y2

protected static String ARG_NAME_Y2

Constructor Details

CanvasRE

protected CanvasRE(CanvasGroup group,
                   int type)

Method Details

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.
Overrides:
getType in interface CanvasShape


gnome_canvas_re_get_type

protected static final int gnome_canvas_re_get_type()


gnome_canvas_re_new_gdk_wpix

protected static final Handle gnome_canvas_re_new_gdk_wpix(Handle group,
                                                           int type,
                                                           double x1,
                                                           double y1,
                                                           double x2,
                                                           double y2,
                                                           Handle fill_color,
                                                           Handle outline_color,
                                                           Handle fill_stipple,
                                                           Handle outline_stipple,
                                                           int width_pixels)


gnome_canvas_re_new_gdk_wunit

protected static final Handle gnome_canvas_re_new_gdk_wunit(Handle group,
                                                            int type,
                                                            double x1,
                                                            double y1,
                                                            double x2,
                                                            double y2,
                                                            Handle fill_color,
                                                            Handle outline_color,
                                                            Handle fill_stipple,
                                                            Handle outline_stipple,
                                                            double width_units)


gnome_canvas_re_new_rgba_wpix

protected static final Handle gnome_canvas_re_new_rgba_wpix(Handle group,
                                                            int type,
                                                            double x1,
                                                            double y1,
                                                            double x2,
                                                            double y2,
                                                            int fill_color,
                                                            int outline_color,
                                                            int width_pixels)


gnome_canvas_re_new_rgba_wunit

protected static final Handle gnome_canvas_re_new_rgba_wunit(Handle group,
                                                             int type,
                                                             double x1,
                                                             double y1,
                                                             double x2,
                                                             double y2,
                                                             int fill_color,
                                                             int outline_color,
                                                             double width_units)


gnome_canvas_request_redraw

protected static final void gnome_canvas_request_redraw(Handle canvas,
                                                        int x1,
                                                        int y1,
                                                        int x2,
                                                        int y2)