---
name: "Clutter::Rectangle"
section: "3pm"
platform: "linux"
package: "libclutter-perl"
version: "1.002-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Clutter::Rectangle"
---

# Clutter::Rectangle(3pm)

A simple rectangular actor

## NAME

Clutter::Rectangle - 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

## SEE ALSO

Clutter, Glib::Object, Glib::InitiallyUnowned, Clutter::Actor

## 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.
