Geoc (geocanvas) Reference Manual | ||||
---|---|---|---|---|
"close" gboolean : Read / Write "dash" CrDash* : Read / Write "fill-color" gchar* : Read / Write "fill-color-rgba" guint : Read / Write "line-scaleable" gboolean : Read / Write "line-width" gdouble : Read / Write "outline-color" gchar* : Read / Write "outline-color-rgba" guint : Read / Write
This item implements the GeocItem interface for drawing polygons. It uses GDK drawing routines vice Cairo as a result the quality is lower (no anti-aliasing). For items with over 100000 points, this may have a 70X performance improvement. It is functionally similar to GeocLines except that it forces all polygons to have the same properties.
"dash"
property"dash" CrDash* : Read / Write
a boxed array indicating the dash pattern to be used by Cairo. See #cairo_set_dash for more information.
"fill-color"
property"fill-color" gchar* : Read / Write
A string color such as 'red', or '#123456' to be used to fill the path.
Default value: NULL
"fill-color-rgba"
property"fill-color-rgba" guint : Read / Write
Region fill color, red,grn,blue,alpha.
Default value: 0
"line-scaleable"
property"line-scaleable" gboolean : Read / Write
If line width should be scaleable.
Default value: TRUE
"line-width"
property"line-width" gdouble : Read / Write
Path line width in user units when #CrPath:line-scaleable is TRUE. When #CrPath:line-scaleable is FALSE this is in device units.
Default value: 2
"outline-color"
property"outline-color" gchar* : Read / Write
A string color such as 'red', or '#123456' to be used to sroke the path.
Default value: NULL
"outline-color-rgba"
property"outline-color-rgba" guint : Read / Write
Path color, red,grn,blue,alpha.
Default value: 0