GimpCanvasPen

GimpCanvasPen

Synopsis

struct              GimpCanvasPen;
struct              GimpCanvasPenClass;
GimpCanvasItem *    gimp_canvas_pen_new                 (GimpDisplayShell *shell,
                                                         const GimpVector2 *points,
                                                         gint n_points,
                                                         GimpContext *context,
                                                         GimpActiveColor color,
                                                         gint width);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpCanvasItem
               +----GimpCanvasPolygon
                     +----GimpCanvasPen

Properties

  "color"                    GimpRGB*              : Read / Write
  "width"                    gint                  : Read / Write

Description

Details

struct GimpCanvasPen

struct GimpCanvasPen;


struct GimpCanvasPenClass

struct GimpCanvasPenClass {
  GimpCanvasPolygonClass  parent_class;
};


gimp_canvas_pen_new ()

GimpCanvasItem *    gimp_canvas_pen_new                 (GimpDisplayShell *shell,
                                                         const GimpVector2 *points,
                                                         gint n_points,
                                                         GimpContext *context,
                                                         GimpActiveColor color,
                                                         gint width);

Property Details

The "color" property

  "color"                    GimpRGB*              : Read / Write


The "width" property

  "width"                    gint                  : Read / Write

Allowed values: >= 1

Default value: 1