## GocRectangle GocRectangle — Rectangle. |

## Synopsis

                        GocRectangle;
    typedef             GocRectangleClass;

## Object Hierarchy

      GObject
       +----GocItem
             +----GocStyledItem
                   +----GocRectangle

## Implemented Interfaces

GocRectangle implements GOStyledObject.

## Properties

      "height"                   gdouble               : Read / Write
      "rotation"                 gdouble               : Read / Write
      "rx"                       gdouble               : Read / Write
      "ry"                       gdouble               : Read / Write
      "type"                     gint                  : Read / Write
      "width"                    gdouble               : Read / Write
      "x"                        gdouble               : Read / Write
      "y"                        gdouble               : Read / Write

## Description

GocPolygon implements rectangle drawing in the canvas.

## Details

### GocRectangle

    typedef struct _GocRectangle GocRectangle;

### GocRectangleClass

    typedef GocStyledItemClass GocRectangleClass;

## Property Details

### The `"height"` property

      "height"                   gdouble               : Read / Write

The rectangle height.

Allowed values: >= 0

Default value: 0

### The `"rotation"` property

      "rotation"                 gdouble               : Read / Write

The rotation around top left position.

Allowed values: [0,6.28319]

Default value: 0

### The `"rx"` property

      "rx"                       gdouble               : Read / Write

The round rectangle rx.

Allowed values: >= 0

Default value: 0

### The `"ry"` property

      "ry"                       gdouble               : Read / Write

The round rectangle ry.

Allowed values: >= 0

Default value: 0

### The `"type"` property

      "type"                     gint                  : Read / Write

The rectangle type: 0 for no rounded corner, 1 for rounded top left, 2 for top right, 4 for bottom right, 8 for bottom left, or any combination of these.

Allowed values: [0,15]

Default value: 0

### The `"width"` property

      "width"                    gdouble               : Read / Write

The rectangle width.

Allowed values: >= 0

Default value: 0

### The `"x"` property

      "x"                        gdouble               : Read / Write

The rectangle left position (or right position in RTL mode).

Default value: 0

### The `"y"` property

      "y"                        gdouble               : Read / Write

The rectangle top position.

Default value: 0