File tree 3 files changed +31
-0
lines changed
3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ .. _dml_api :
3
+
4
+ DrawingML objects
5
+ =================
6
+
7
+ Low-level drawing elements like color that appear in various document
8
+ contexts.
9
+
10
+
11
+ |ColorFormat | objects
12
+ ---------------------
13
+
14
+ .. autoclass :: docx.dml.color.ColorFormat()
15
+ :members:
16
+ :undoc-members:
Original file line number Diff line number Diff line change @@ -43,3 +43,17 @@ allowing values to be expressed in the units most appropriate to the context.
43
43
44
44
.. autoclass :: Emu
45
45
:members:
46
+
47
+
48
+ |RGBColor | objects
49
+ ------------------
50
+
51
+ .. autoclass :: RGBColor(r, g, b)
52
+ :members:
53
+ :undoc-members:
54
+
55
+ *r *, *g *, and *b * are each an integer in the range 0-255 inclusive. Using
56
+ the hexidecimal integer notation, e.g. `0x42 ` may enhance readability
57
+ where hex RGB values are in use::
58
+
59
+ >>> lavender = RGBColor(0xff, 0x99, 0xcc)
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ API Documentation
88
88
api/table
89
89
api/section
90
90
api/shape
91
+ api/dml
91
92
api/shared
92
93
api/enum/index
93
94
You can’t perform that action at this time.
0 commit comments