clutter.Rectangle — An actor that displays simple rectangles
class clutter.Rectangle(clutter.Actor): |
|
clutter.Rectangle(color=None)
| a clutter.Color or None |
Returns : | a new clutter.Rectangle.
|
Creates a new clutter.Rectangle object.
def get_color()Returns : | the rectangle color. |
The get_color() method retrieves the
clutter.Color used by
the clutter.Rectangle
def get_border_color()Returns : | the border color. |
The get_border_color() method retrieves the
clutter.Color used by
the clutter.Rectangle
to draw its border.
def get_border_width()Returns : | the border width in pixels. |
The get_border_width() method retrieves the
width of the rectangle's border.
def set_color(color)
| the clutter.Color to be used to draw the rectangle |
The set_color() method controls the color
of the rectangle.
def set_border_color(color)
| the clutter.Color to be used to draw the border of the rectangle |
The set_border_color() method controls the color
of the border of the rectangle.