-
Notifications
You must be signed in to change notification settings - Fork 156
/
Copy pathdisplaytext-model.d.ts
62 lines (53 loc) · 1.32 KB
/
displaytext-model.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';import { Margin } from './margin';import { MarginModel } from './margin-model';import { Alignment, TextPosition } from '../enum/enum';
/**
* Interface for a class DisplayText
*/
export interface DisplayTextModel {
/**
* Sets the textual description of the barcode.
*
* @default ''
*/
text?: string;
/**
* Defines the visibility of the text.
*
* @default true
*/
visibility?: boolean;
/**
* Defines the font style of the text
*
* @default 'monospace'
*/
font?: string;
/**
* Defines the size of the text.
*
* @default 20
*/
size?: number;
/**
* Sets the space to be left between the text and its barcode.
*
* @default ''
*/
margin?: MarginModel;
/**
* Defines the horizontal alignment of the text.
* * Left - Aligns the text at the left
* * Right - Aligns the text at the Right
* * Center - Aligns the text at the Center
*
* @default 'Center'
*/
alignment?: Alignment;
/**
* Defines the position of the text.
* * Bottom - Position the text at the Bottom
* * Top - Position the text at the Top
*
* @default 'Bottom'
*/
position?: TextPosition;
}