clutter.Rectangle
clutter.Rectangle — An actor that displays simple rectangles
Methods
clutter.Rectangle.get_color
def get_color()
Returns : | the rectangle color. |
The get_color
() method retrieves the
clutter.Color used by
the clutter.Rectangle
clutter.Rectangle.get_border_color
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.
clutter.Rectangle.get_border_width
def get_border_width()
Returns : | the border width in pixels. |
The get_border_width
() method retrieves the
width of the rectangle's border.
clutter.Rectangle.set_color
def set_color(color
)
The set_color
() method controls the color
of the rectangle.
clutter.Rectangle.set_border_color
def set_border_color(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.
clutter.Rectangle.set_border_width
def set_border_width(width
)
width : | the width of the border of the rectangle |
The set_border_width
() method controls the
width of the border of the rectangle.