MCPcopy Create free account
hub / github.com/scanny/python-pptx / CT_Color

Class CT_Color

src/pptx/oxml/dml/color.py:50–63  ·  view source on GitHub ↗

Custom element class for `a:fgClr`, `a:bgClr` and perhaps others.

Source from the content-addressed store, hash-verified

48
49
50class CT_Color(BaseOxmlElement):
51 """Custom element class for `a:fgClr`, `a:bgClr` and perhaps others."""
52
53 eg_colorChoice = ZeroOrOneChoice(
54 (
55 Choice("a:scrgbClr"),
56 Choice("a:srgbClr"),
57 Choice("a:hslClr"),
58 Choice("a:sysClr"),
59 Choice("a:schemeClr"),
60 Choice("a:prstClr"),
61 ),
62 successors=(),
63 )
64
65
66class CT_HslColor(_BaseColorElement):

Callers

nothing calls this directly

Calls 2

ZeroOrOneChoiceClass · 0.90
ChoiceClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…