Debian Codegraph @

docs/Guide.md

raw
1 ---
2 title: Guide
3 ---
4 Guide(pos: babelfont.BaseObject.Position, name: str = None, color: babelfont.BaseObject.Color = None, _formatspecific: dict = <factory>, _: dict = None)
5 ## Guide.pos
6
7 * Python type: `Position`
8
9 * **Required field**
10
11
12
13
14 ## Guide.name
15
16 * Python type: `str`
17
18
19 *If not provided, defaults to* `None`.
20
21
22 ## Guide.color
23
24 * Python type: `Color`
25
26
27 *If not provided, defaults to* `None`.
28
29
30 ## Guide._formatspecific
31
32 * Python type: `dict`
33
34
35 Each object in Babelfont has an optional attached dictionary to allow the storage
36 of format-specific information. Font creation software may store any additional
37 information that they wish to have preserved on import and export under a
38 namespaced (reverse-domain) key in this dictionary. For example, information
39 specific to the Glyphs software should be stored under the key `com.glyphsapp`.
40 The value stored under this key may be any data serializable in JSON; typically
41 it will be a `dict`.
42
43 Note that there is an important distinction between the Python object format
44 of this field and the Babelfont-JSON representation. When stored to JSON, this key
45 is exported not as `_formatspecific` but as a simple underscore (`_`).
46
47
48