Debian Codegraph @

architecture/httpdlib/html/js/svg/api/source/constants.rst

raw
1 Constants
2 =========
3
4 Certain constants are defined in the Web UI API to facilitate customization.
5 As explained in the next chapter, these constants can be used directly in
6 external JS files or in the URL itself to control the look and feel of the
7 faust application. Examples of this are given in the next chapter as well.
8
9 ============================ ================================================ ================================
10 Property name Description Value of internal representation
11 ============================ ================================================ ================================
12 _f4u$t.TEXT_HEIGHT Estimation of the height of text 20
13 _f4u$t.TEXT_PADDING Padding between an object and its label 10
14 _f4u$t.VALUE_BOX_W Width of the value box of an object 60
15 _f4u$t.VALUE_BOX_H Height of the value box of an object 60
16 _f4u$t.TEXT_BOX_PADDING Padding between an object and its value box 3
17 _f4u$t.X_AXIS Enum-like constant for the X axis 0
18 _f4u$t.Y_AXIS Enum-like constant for the Y axis 1
19 _f4u$t.NO_AXES Enum-like constant for the end of axis iterators 2
20 _f4u$t.LEFT Enum-like constant for left -1
21 _f4u$t.RIGHT Enum-like constant for rifght 1
22 _f4u$t.UP Enum-like constant for up -1
23 _f4u$t.DOWN Enum-like constant for down 1
24 _f4u$t.CENTER Enum-like constant for center 0
25 _f4u$t.NONE Representation of JS null null
26 _f4u$t.BLACK The color black [0,0,0]
27 _f4u$t.WHITE The color white [255,255,255]
28 _f4u$t.CYAN The color cyan [0,255,255]
29 _f4u$t.GREY The color grey [100,100,100]
30 _f4u$t.PINK The color pink [233,150,122]
31 _f4u$t.GREEN The color green [173,255,47]
32 _f4u$t.KERMIT The color kermit [47,243,160]
33 _f4u$t.PALEGREEN The color pale green [152,251,152]
34 ============================ ================================================ ================================