Class: TextField
Extends
BaseType
<RawTextField
>
Constructors
new TextField()
new TextField(raw: RawTextField): TextField
Parameters
Parameter | Type |
---|---|
|
|
Returns
Overrides
BaseType<RawTextField>.constructor
Properties
box
readonly box: Box;
color
readonly color: Color;
raw
readonly raw: RawTextField;
Inherited from
BaseType.raw
Accessors
confidence
get confidence(): number
Returns
number
label
get label(): undefined | string
Returns
undefined
| string
text
get text(): string
Returns
string
Methods
toJSON()
toJSON(): RawTextField
Returns
RawTextField
Inherited from
BaseType.toJSON