org.gnu.gnome

Class CanvasLine


public class CanvasLine
extends CanvasItem

The GnomeCanvasLine is a GnomeCanvasItem that draws a line on a GnomeCanvas. The line can contain multiple segments.

Constructor Summary

CanvasLine(CanvasGroup group)

Method Summary

protected static int
getCap(Handle cptr)
protected static int
getFillColor(Handle cptr)
protected static long
getFillPixel(Handle cptr)
protected static int
getFillRgba(Handle cptr)
protected static boolean
getFirstArrow(Handle cptr)
protected static Handle
getGc(Handle cptr)
protected static int
getJoin(Handle cptr)
protected static boolean
getLastArrow(Handle cptr)
protected static int
getLineStyle(Handle cptr)
protected static int
getNumPoints(Handle cptr)
protected static double
getShapeA(Handle cptr)
protected static double
getShapeB(Handle cptr)
protected static double
getShapeC(Handle cptr)
protected static boolean
getSmooth(Handle cptr)
protected static int
getSplineSteps(Handle cptr)
protected static Handle
getStipple(Handle cptr)
static Type
getType()
Retrieve the runtime type used by the GLib library.
protected static double
getWidth(Handle cptr)
protected static boolean
getWidthPixels(Handle cptr)
protected static int
gnome_canvas_line_get_type()
protected void
setCap(Handle cptr, int cap)
protected void
setFillColor(Handle cptr, int fill_color)
protected void
setFillPixel(Handle cptr, long fill_pixel)
protected void
setFillRgba(Handle cptr, int fill_rgba)
protected void
setFirstArrow(Handle cptr, boolean first_arrow)
protected void
setJoin(Handle cptr, int join)
protected void
setLastArrow(Handle cptr, boolean last_arrow)
protected void
setLineStyle(Handle cptr, int line_style)
protected void
setShapeA(Handle cptr, double shape_a)
protected void
setShapeB(Handle cptr, double shape_b)
protected void
setShapeC(Handle cptr, double shape_c)
protected void
setSmooth(Handle cptr, boolean smooth)
protected void
setSplineSteps(Handle cptr, int spline_steps)
protected void
setStipple(Handle cptr, Handle stipple)

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

Constructor Details

CanvasLine

public CanvasLine(CanvasGroup group)

Method Details

getCap

protected static final int getCap(Handle cptr)


getFillColor

protected static final int getFillColor(Handle cptr)


getFillPixel

protected static final long getFillPixel(Handle cptr)


getFillRgba

protected static final int getFillRgba(Handle cptr)


getFirstArrow

protected static final boolean getFirstArrow(Handle cptr)


getGc

protected static final Handle getGc(Handle cptr)


getJoin

protected static final int getJoin(Handle cptr)


getLastArrow

protected static final boolean getLastArrow(Handle cptr)


getLineStyle

protected static final int getLineStyle(Handle cptr)


getNumPoints

protected static final int getNumPoints(Handle cptr)


getShapeA

protected static final double getShapeA(Handle cptr)


getShapeB

protected static final double getShapeB(Handle cptr)


getShapeC

protected static final double getShapeC(Handle cptr)


getSmooth

protected static final boolean getSmooth(Handle cptr)


getSplineSteps

protected static final int getSplineSteps(Handle cptr)


getStipple

protected static final Handle getStipple(Handle cptr)


getType

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


getWidth

protected static final double getWidth(Handle cptr)


getWidthPixels

protected static final boolean getWidthPixels(Handle cptr)


gnome_canvas_line_get_type

protected static final int gnome_canvas_line_get_type()


setCap

protected final void setCap(Handle cptr,
                            int cap)


setFillColor

protected final void setFillColor(Handle cptr,
                                  int fill_color)


setFillPixel

protected final void setFillPixel(Handle cptr,
                                  long fill_pixel)


setFillRgba

protected final void setFillRgba(Handle cptr,
                                 int fill_rgba)


setFirstArrow

protected final void setFirstArrow(Handle cptr,
                                   boolean first_arrow)


setJoin

protected final void setJoin(Handle cptr,
                             int join)


setLastArrow

protected final void setLastArrow(Handle cptr,
                                  boolean last_arrow)


setLineStyle

protected final void setLineStyle(Handle cptr,
                                  int line_style)


setShapeA

protected final void setShapeA(Handle cptr,
                               double shape_a)


setShapeB

protected final void setShapeB(Handle cptr,
                               double shape_b)


setShapeC

protected final void setShapeC(Handle cptr,
                               double shape_c)


setSmooth

protected final void setSmooth(Handle cptr,
                               boolean smooth)


setSplineSteps

protected final void setSplineSteps(Handle cptr,
                                    int spline_steps)


setStipple

protected final void setStipple(Handle cptr,
                                Handle stipple)