Enums¶
Details¶
- class GooCanvas.CairoAntialias(value)¶
Bases:
GObject.GEnumGooCanvas.CairoAntialiasis simply a wrapper for thecairo.Antialiastype, allowing it to be used forGObject.Objectproperties.See the
cairo.Antialiasdocumentation.- DEFAULT = 0¶
- NONE = 1¶
- GRAY = 2¶
- SUBPIXEL = 3¶
- class GooCanvas.CairoFillRule(value)¶
Bases:
GObject.GEnumGooCanvas.CairoFillRuleis simply a wrapper for thecairo.FillRuletype, allowing it to be used forGObject.Objectproperties.See the
cairo.FillRuledocumentation.- WINDING = 0¶
- EVEN_ODD = 1¶
- class GooCanvas.CairoHintMetrics(value)¶
Bases:
GObject.GEnumGooCanvas.CairoHintMetricsis simply a wrapper for thecairo.HintMetricstype, allowing it to be used forGObject.Objectproperties.See the
cairo.HintMetricsdocumentation.- DEFAULT = 0¶
- OFF = 1¶
- ON = 2¶
- class GooCanvas.CairoLineCap(value)¶
Bases:
GObject.GEnumGooCanvas.CairoLineCapis simply a wrapper for thecairo.LineCaptype, allowing it to be used forGObject.Objectproperties.See the
cairo.LineCapdocumentation.- BUTT = 0¶
- ROUND = 1¶
- SQUARE = 2¶
- class GooCanvas.CairoLineJoin(value)¶
Bases:
GObject.GEnumGooCanvas.CairoLineJoinis simply a wrapper for thecairo.LineJointype, allowing it to be used forGObject.Objectproperties.See the
cairo.LineJoindocumentation.- MITER = 0¶
- ROUND = 1¶
- BEVEL = 2¶
- class GooCanvas.CairoOperator(value)¶
Bases:
GObject.GEnumGooCanvas.CairoOperatoris simply a wrapper for thecairo.Operatortype, allowing it to be used forGObject.Objectproperties.See the
cairo.Operatordocumentation.- CLEAR = 0¶
- SOURCE = 1¶
- DEST_ATOP = 10¶
- XOR = 11¶
- ADD = 12¶
- SATURATE = 13¶
- OVER = 2¶
- IN = 3¶
- OUT = 4¶
- ATOP = 5¶
- DEST = 6¶
- DEST_OVER = 7¶
- DEST_IN = 8¶
- DEST_OUT = 9¶
- class GooCanvas.CanvasAnchorType(value)¶
Bases:
GObject.GEnumGooCanvas.CanvasAnchorTypeis used to specify the positions of objects relative to a particular anchor point.- CENTER = 0¶
the anchor is in the center of the object.
- N = 1¶
- NORTH = 1¶
the anchor is at the top of the object, centered horizontally.
- NORTH_WEST = 2¶
the anchor is at the top-left of the object.
- NW = 2¶
- NE = 3¶
- NORTH_EAST = 3¶
the anchor is at the top-right of the object.
- S = 4¶
- SOUTH = 4¶
the anchor is at the bottom of the object, centered horizontally.
- SOUTH_WEST = 5¶
the anchor is at the bottom-left of the object.
- SW = 5¶
- SE = 6¶
- SOUTH_EAST = 6¶
the anchor is at the bottom-right of the object.
- W = 7¶
- WEST = 7¶
the anchor is on the left of the object, centered vertically.
- E = 8¶
- EAST = 8¶
the anchor is on the right of the object, centered vertically.
- class GooCanvas.CanvasAnimateType(value)¶
Bases:
GObject.GEnumGooCanvas.CanvasAnimateTypeis used to specify what happens when the end of an animation is reached.- FREEZE = 0¶
the item remains in the final position.
- RESET = 1¶
the item is moved back to the initial position.
- RESTART = 2¶
the animation is restarted from the initial position.
- BOUNCE = 3¶
the animation bounces back and forth between the start and end positions.
- class GooCanvas.CanvasItemVisibility(value)¶
Bases:
GObject.GEnumThe
GooCanvas.CanvasItemVisibilityenumeration is used to specify when a canvas item is visible.- HIDDEN = 0¶
the item is invisible, and is not allocated any space in layout container items such as
GooCanvas.CanvasTable.
- INVISIBLE = 1¶
the item is invisible, but it is still allocated space in layout container items.
- VISIBLE = 2¶
the item is visible.
- VISIBLE_ABOVE_THRESHOLD = 3¶
the item is visible when the canvas scale setting is greater than or equal to the item’s visibility threshold setting.
- class GooCanvas.CanvasPathCommandType(value)¶
Bases:
GObject.GEnumGooCanvas.CanvasPathCommandTypespecifies the type of each command in the path. See the path element in the Scalable Vector Graphics (SVG) specification for more details.- MOVE_TO = 0¶
move to the given point.
- CLOSE_PATH = 1¶
close the current path, drawing a line from the current position to the start of the path.
- LINE_TO = 2¶
draw a line to the given point.
- HORIZONTAL_LINE_TO = 3¶
draw a horizontal line to the given x coordinate.
- VERTICAL_LINE_TO = 4¶
draw a vertical line to the given y coordinate.
- CURVE_TO = 5¶
draw a bezier
GooCanvas.curveusing two control points to the given point.
- SMOOTH_CURVE_TO = 6¶
draw a bezier
GooCanvas.curveusing a reflection of the last control point of the lastGooCanvas.curveas the first control point, and one new control point, to the given point.
- QUADRATIC_CURVE_TO = 7¶
draw a quadratic bezier
GooCanvas.curveusing a single control point to the given point.
- SMOOTH_QUADRATIC_CURVE_TO = 8¶
draw a quadratic bezier
GooCanvas.curveusing a reflection of the control point from the previousGooCanvas.curveas the control point, to the given point.
- ELLIPTICAL_ARC = 9¶
draw an elliptical
GooCanvas.arc, using the given 2 radii, the x axis rotation, and the 2 flags to disambiguate theGooCanvas.arc, to the given point.