MCPcopy Index your code
hub / github.com/python-openxml/python-docx / CT_PositiveSize2D

Class CT_PositiveSize2D

src/docx/oxml/shape.py:198–209  ·  view source on GitHub ↗

Used for `` `` element, and perhaps others later. Specifies the size of a DrawingML drawing.

Source from the content-addressed store, hash-verified

196
197
198class CT_PositiveSize2D(BaseOxmlElement):
199 """Used for ``<wp:extent>`` element, and perhaps others later.
200
201 Specifies the size of a DrawingML drawing.
202 """
203
204 cx: Length = RequiredAttribute( # pyright: ignore[reportAssignmentType]
205 "cx", ST_PositiveCoordinate
206 )
207 cy: Length = RequiredAttribute( # pyright: ignore[reportAssignmentType]
208 "cy", ST_PositiveCoordinate
209 )
210
211
212class CT_PresetGeometry2D(BaseOxmlElement):

Callers

nothing calls this directly

Calls 1

RequiredAttributeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…