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

Class CT_GradientStop

src/pptx/oxml/dml/fill.py:90–104  ·  view source on GitHub ↗

`a:gs` custom element class.

Source from the content-addressed store, hash-verified

88
89
90class CT_GradientStop(BaseOxmlElement):
91 """`a:gs` custom element class."""
92
93 eg_colorChoice = ZeroOrOneChoice(
94 (
95 Choice("a:scrgbClr"),
96 Choice("a:srgbClr"),
97 Choice("a:hslClr"),
98 Choice("a:sysClr"),
99 Choice("a:schemeClr"),
100 Choice("a:prstClr"),
101 ),
102 successors=(),
103 )
104 pos = RequiredAttribute("pos", ST_PositiveFixedPercentage)
105
106
107class CT_GradientStopList(BaseOxmlElement):

Callers

nothing calls this directly

Calls 3

ZeroOrOneChoiceClass · 0.90
ChoiceClass · 0.90
RequiredAttributeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…