Clutter::Rectangle(3) A simple rectangular actor

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Clutter::Actor
            +----Clutter::Rectangle

INTERFACES

  Glib::Object::_Unregistered::ClutterScriptable

METHODS

actor = Clutter::Rectangle->new ($color=undef)

  • $color (Clutter::Color or undef)

color = $rectangle->get_border_color

$rectangle->set_border_color ($color)

  • $color (Clutter::Color)

integer = $rectangle->get_border_width

$rectangle->set_border_width ($border_width)

  • $border_width (integer)

color = $rectangle->get_color

$rectangle->set_color ($color)

  • $color (Clutter::Color)

PROPERTIES

'border-color' (Clutter::Color : readable / writable / private)
The color of the border of the rectangle
'border-width' (Glib::UInt : readable / writable / private)
The width of the border of the rectangle
'color' (Clutter::Color : readable / writable / private)
The color of the rectangle
'has-border' (boolean : readable / writable / private)
Whether the rectangle should have a border

COPYRIGHT

Copyright (C) 2006, 2007, 2008 OpenedHand Ltd

Copyright (C) 2009 Intel Corporation

This module is free software; you can redistribute it and/or modify it under the terms of either:

  • the GNU Lesser General Public Library version 2.1; or
  • the Artistic License, version 2.0.

See Clutter for the full copyright notice.