MCPcopy Create free account
hub / github.com/easyw/kicadStepUpMod / getColor

Function getColor

dxf_parser/_importDXF.py:531–553  ·  view source on GitHub ↗

Get the Draft color defined in the Draft toolbar or preferences. Returns ------- tuple of 4 floats Return the `(r, g, b, 0.0)` tuple with the colors defined in the Draft toolbar, if the graphical user interface is active. Otherwise, return the tuple with the colo

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

readPreferencesFunction · 0.85
setDefPreferencesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected