GocText

## GocText GocText — Text. |

## Synopsis

                        GocText;
    typedef             GocTextClass;

## Object Hierarchy

      GObject
       +----GocItem
             +----GocStyledItem
                   +----GocText

## Implemented Interfaces

GocText implements GOStyledObject.

## Properties

      "anchor"                   GOAnchorType          : Read / Write
      "attributes"               PangoAttrList*        : Read / Write
      "clip"                     gboolean              : Read / Write
      "clip-height"              gdouble               : Read / Write
      "clip-width"               gdouble               : Read / Write
      "rotation"                 gdouble               : Read / Write
      "text"                     gchar*                : Read / Write
      "wrap-width"               gdouble               : Read / Write
      "x"                        gdouble               : Read / Write
      "y"                        gdouble               : Read / Write

## Description

GocText implements rich text drawing in the canvas.

## Details

### GocText

    typedef struct _GocText GocText;

### GocTextClass

    typedef GocStyledItemClass GocTextClass;

## Property Details

### The `"anchor"` property

      "anchor"                   GOAnchorType          : Read / Write

The anchor point for the text.

Default value: GO_ANCHOR_CENTER

### The `"attributes"` property

      "attributes"               PangoAttrList*        : Read / Write

The attributes list as a PangoAttrList.

### The `"clip"` property

      "clip"                     gboolean              : Read / Write

Whether to clip or not.

Default value: FALSE

### The `"clip-height"` property

      "clip-height"              gdouble               : Read / Write

Clip height for the text.

Allowed values: >= 0

Default value: 0

### The `"clip-width"` property

      "clip-width"               gdouble               : Read / Write

Clip width for the text.

Allowed values: >= 0

Default value: 0

### The `"rotation"` property

      "rotation"                 gdouble               : Read / Write

The rotation around the anchor.

Allowed values: [0,6.28319]

Default value: 0

### The `"text"` property

      "text"                     gchar*                : Read / Write

The text to display.

Default value: NULL

### The `"wrap-width"` property

      "wrap-width"               gdouble               : Read / Write

Wrap width for the text.

Allowed values: >= 0

Default value: 0

### The `"x"` property

      "x"                        gdouble               : Read / Write

The text horizontal position.

Default value: 0

### The `"y"` property

      "y"                        gdouble               : Read / Write

The text position.

Default value: 0