clutter.BehaviourEllipse
class clutter.BehaviourEllipse(clutter.Behaviour): |
__init__(alpha
, x
, y
, width
, height
, start
, end
)
| a clutter.Alpha or None |
| x coordinace of the center |
| y coordinace of the center |
| width of the ellipse |
| height of the ellipse |
| angle in degrees at which movement starts, between 0 and 360 |
| angle in degrees at which movement ends, between 0 and 360 |
Returns : | the newly created clutter.BehaviourEllipse |
def set_center(x
, y
)
| x coordinace of centre |
| y coordinace of centre |
Sets the center of the elliptical path to the point represented by knot.
def get_center()
Returns : | a 2-tuple with the X and Y coordinates of the center |
Returns the center of the elliptical path path.
def set_width(width
)
| width of the ellipse |
Sets the width of the elliptical path.
def get_width()
Returns : | the width of the path |
Returns the width of the elliptical path.
def set_height(height
)
| height of the ellipse |
Sets the height of the elliptical path.
def get_height()
Returns : | the height of the path |
Returns the height of the elliptical path.
def set_angle_start(angle_start
)
| angle at which movement starts in degrees, between 0 and 360. |
Sets the angle at which movement starts; angles >= 360 degress get clamped to the canonical interval (0, 360).
def get_angle_start()
Returns : | angle in degrees |
Gets the angle at which movements starts.
def set_angle_end(angle_end
)
| angle at which movement ends in degrees, between 0 and 360. |
Sets the angle at which movement ends; angles >= 360 degress get clamped to the canonical interval (0, 360).
def get_angle_end()
Returns : | angle in degrees |
Gets the angle at which movements ends.
def set_angle_tilt(axis
, angle_tilt
)
| a clutter.RotateAxis enum |
| tilt of the elipse around the center in the given axis in degrees. |
Sets the angle at which the ellipse should be tilted around its center.
def get_angle_tilt(axis
)
| a clutter.RotateAxis enum |
Returns : | angle in degrees. |
Returs the tilt of the ellipse around the center in the given axis.
def set_tilt(angle_tilt_x
, angle_tilt_y
, angle_tilt_z
)
| tilt of the elipse around the center in X axis in degrees. |
| tilt of the elipse around the center in Y axis in degrees. |
| tilt of the elipse around the center in Z axis in degrees. |
Sets the angles at which the ellipse should be tilted around its center.
def get_tilt()
Returns : | a 3-tuple containing angle_tilt_x, angle_tilt_y and angle_tilt_z |
Returns the angles at which the ellipse should be tilted around its center.