Miscellaneous Items — Miscellaneous items.
"x1" Read/Write The left edge. "y1" Read/Write The top edge. "x2" Read/Write The right edge. "y2" Read/Write The bottom edge.
goocanvas.Bounds(coords= None);
| The four coords of the bounding box |
Returns : | A new
goocanvas.Bounds
|
Creates a new canvas bounds item.
Here's an example showing how to create bounds at (100.0, 100.0, 200.0, 200.0).
bounds = goocanvas.Bounds(100.0, 100.0, 200.0, 200.0)
"coords" Read The coordinates of the points, as a list of tuples. "num_points" Read The number of points.
goocanvas.Points(points= None);
| A list of tuples containing the coords pair. |
Returns : | A new
goocanvas.Points
|
Creates a new canvas points item.
Here's an example showing how to create points.
points = goocanvas.Points([(100.0, 100.0), (200.0, 200.0)])
goocanvas.LineDash(data= None);
| A list of line/space pairs. |
Returns : | A new
goocanvas.LineDash
|
Creates a new canvas linedash item.
Here's an example showing how to create linedash.
linedash = goocanvas.LineDash([5.0, 10.0, 20.0, 10.0, 5.0])