# DText (of `Control`)

class `DText`

  Defined in Controls.sc.

  A control that simply displays text.

## Properties

Inherited from `Control`:

Property | Description
--- | ---
type |
state |
nsTop |
nsLeft |
nsBottom |
nsRight |
key | The keyboard key associated with this control.
said |
value | Arbitrary value associated with this control.
name |

Defined in DText:

Property | Description
--- | ---
text | The text.
font | The font.
mode | alLEFT, alCENTER or alRIGHT.
rects |

## Methods

`new`()

`dispose`(param1)

`handleEvent`(pEvent)

`setSize`(param1)

`draw`()