org.gnu.gnome

Class CanvasEllipse


public class CanvasEllipse
extends CanvasRE

The GnomeCanvasEllipse is a GnomeCanvasItem that draws itself as an ellipse on a GnomeCanvas.

Constructor Summary

CanvasEllipse(CanvasGroup group)
CanvasEllipse(CanvasGroup group, double x1, double y1, double x2, double y2, Color fill_color, Color outline_color, Bitmap fill_stipple, Bitmap outline_stipple, double width_units)
Creates a new CanvasEllipse object.
CanvasEllipse(CanvasGroup group, double x1, double y1, double x2, double y2, Color fill_color, Color outline_color, Bitmap fill_stipple, Bitmap outline_stipple, int width_pixels)
Creates a new CanvasEllipse object.
CanvasEllipse(CanvasGroup group, double x1, double y1, double x2, double y2, int fill_color, int outline_color, double width_units)
Creates a new CanvasEllipse object.
CanvasEllipse(CanvasGroup group, double x1, double y1, double x2, double y2, int fill_color, int outline_color, int width_pixels)
Creates a new CanvasEllipse object.

Method Summary

static Type
getType()
Retrieve the runtime type used by the GLib library.

Methods inherited from class org.gnu.gnome.CanvasRE

getType

Methods inherited from class org.gnu.gnome.CanvasShape

getType

Methods inherited from class org.gnu.gnome.CanvasItem

affineAbsolute, affineRelative, getCanvas, getParent, getType, getX1, getX2, getY1, getY2, hide, lower, lowerToBotton, move, raise, raiseToTop, show

Constructor Details

CanvasEllipse

public CanvasEllipse(CanvasGroup group)

CanvasEllipse

public CanvasEllipse(CanvasGroup group,
                     double x1,
                     double y1,
                     double x2,
                     double y2,
                     Color fill_color,
                     Color outline_color,
                     Bitmap fill_stipple,
                     Bitmap outline_stipple,
                     double width_units)
Creates a new CanvasEllipse 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.

CanvasEllipse

public CanvasEllipse(CanvasGroup group,
                     double x1,
                     double y1,
                     double x2,
                     double y2,
                     Color fill_color,
                     Color outline_color,
                     Bitmap fill_stipple,
                     Bitmap outline_stipple,
                     int width_pixels)
Creates a new CanvasEllipse 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.

CanvasEllipse

public CanvasEllipse(CanvasGroup group,
                     double x1,
                     double y1,
                     double x2,
                     double y2,
                     int fill_color,
                     int outline_color,
                     double width_units)
Creates a new CanvasEllipse 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.

CanvasEllipse

public CanvasEllipse(CanvasGroup group,
                     double x1,
                     double y1,
                     double x2,
                     double y2,
                     int fill_color,
                     int outline_color,
                     int width_pixels)
Creates a new CanvasEllipse 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.

Method Details

getType

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