Documentation Set for Swarm 2.2
Prev | Reference VIII. Gui Library | Next

# TextItem

## Name

TextItem -- A CanvasItem that displays text.

## Description

A CanvasItem that displays text.

## Protocols adopted by TextItem

CanvasItem CREATABLE

## Methods

### Phase: Creating

- - setCenterFlag: (BOOL)centerFlag
  Determine whether text is centered or not.

- - setFont: (const char *)font
  Set the font with which to display the text.

- - setText: (const char *)text
  Set the text to display.

- - setX: (int)x Y: (int)y
  Set the coordinate for the center of the text.

Prev | Home | Next
SuperButton | Up | VarProbeEntry