clutter.Rectangle

clutter.Rectangle

Synopsis

class clutter.Rectangle(clutter.Actor):
    __init__(color=None)
def get_color()
def set_color(color)
def get_border_width()
def set_border_width(width)
def get_border_color()
def set_border_color(color)

Ancestry

+-- GObject
  +-- clutter.Actor
    +-- clutter.Rectangle

Constructor

    __init__(color=None)

color :

a clutter.Color or None

Returns :

a clutter.Rectangle

Methods

clutter.Rectangle.get_color

    def get_color()

Returns :

a clutter.Color

Returns the color of the rectangle.

clutter.Rectangle.set_color

    def set_color(color)

color :

a clutter.Color

Sets the color of the rectangle.

clutter.Rectangle.get_border_width

    def get_border_width()

Returns :

the width of the border

Returns the width (in pixels) of the border.

clutter.Rectangle.set_border_width

    def set_border_width(width)

width :

the width of the border

Sets the width (in pixel) of the border. A width of 0 will unset the border.

clutter.Rectangle.get_border_color

    def get_border_color()

Returns :

a clutter.Color

Gets the color of the border.

clutter.Rectangle.set_border_color

    def set_border_color(color)

color :

a clutter.Color

Sets the color of the border.