MCPcopy Create free account
hub / github.com/Proxlight/Proxlight-Designer / get_text_properties

Function get_text_properties

backend.py:34–39  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

32
33
34 def get_text_properties(element):
35 # Return element font and fontSize (str)
36 font = element["style"]["fontPostScriptName"]
37 fontSize = element["style"]["fontSize"]
38
39 return font, fontSize
40
41
42 global fig_window, response

Callers 1

generate_codeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected