MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / extract_fill

Function extract_fill

demo/Paper2Poster/utils/src/utils.py:209–213  ·  view source on GitHub ↗
(shape: BaseShape)

Source from the content-addressed store, hash-verified

207
208
209def extract_fill(shape: BaseShape):
210 if "fill" not in dir(shape):
211 return None
212 else:
213 return shape.fill._xPr.xml
214
215
216def apply_fill(shape: BaseShape, fill_xml: str):

Callers 2

from_shapeMethod · 0.90
from_slideMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected