Class n.c.Group(GroupBase):

Part of nevow.canvas View Source View In Hierarchy

No class docstring

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
241 Method __init__ Undocumented
249 Method setMask Set the mask of self to the group "other". "other" must be a Group
259 Method setVisible Undocumented
264 Method scale Undocumented
267 Method swapDepth Swap the z-order depth of this group with another.
279 Method depth Return a deferred which will fire the depth of this group.

Inherited from GroupBase:

Line # Kind Name Docs
105 Method call Call a client-side method with the given arguments. Arguments
117 Method reposition Reposition all the elements in this group
124 Method rotate Rotate all the elements of this group
130 Method alpha Set the alpha value of this group
136 Method line Draw a line from the current point to the given point.
145 Method move Move the pen to the given point.
154 Method pen Change the current pen attributes.
163 Method clear Clear the current pen attributes.
168 Method fill Set the current fill. Fill will not be drawn until close is called.
176 Method close Close the current shape. A line will be drawn from the end point
182 Method curve Draw a curve
187 Method gradient Draw a gradient. Currently the API for this sucks, see the flash documentation
198 Method text Place the given text on the canvas using the given x, y, height and width.
208 Method image Load an image from the URL "where". The result is an Image object which
218 Method sound Load an mp3 from the URL "where". The result is a Sound object which
229 Method group Create a new group of shapes. The returned object will
Line # Kind Name Docs
241 Method __init__ Undocumented
130 Method alpha Set the alpha value of this group
105 Method call Call a client-side method with the given arguments. Arguments
163 Method clear Clear the current pen attributes.
176 Method close Close the current shape. A line will be drawn from the end point
182 Method curve Draw a curve
279 Method depth Return a deferred which will fire the depth of this group.
168 Method fill Set the current fill. Fill will not be drawn until close is called.
187 Method gradient Draw a gradient. Currently the API for this sucks, see the flash documentation
229 Method group Create a new group of shapes. The returned object will
208 Method image Load an image from the URL "where". The result is an Image object which
136 Method line Draw a line from the current point to the given point.
145 Method move Move the pen to the given point.
154 Method pen Change the current pen attributes.
117 Method reposition Reposition all the elements in this group
124 Method rotate Rotate all the elements of this group
264 Method scale Undocumented
249 Method setMask Set the mask of self to the group "other". "other" must be a Group
259 Method setVisible Undocumented
218 Method sound Load an mp3 from the URL "where". The result is a Sound object which
267 Method swapDepth Swap the z-order depth of this group with another.
198 Method text Place the given text on the canvas using the given x, y, height and width.
def __init__(self, groupName, socket, canvas): (source)
Undocumented
def setMask(self, other=None): (source)
Set the mask of self to the group "other". "other" must be a Group instance, if provided. If not provided, any previous mask will be removed from self.
def setVisible(self, visible): (source)
Undocumented
def scale(self, x, y): (source)
Undocumented
def swapDepth(self, intOrGroup): (source)
Swap the z-order depth of this group with another. If an int is provided, the group will be placed at that depth, regardless of whether there is an existing clip there. If a group is provided, the z depth of self and the other group are swapped.
def depth(self): (source)
Return a deferred which will fire the depth of this group. XXX TODO
API Documentation for Nevow, generated by pydoctor.