MCPcopy Create free account
hub / github.com/dropbox/hackpad / padding

Method padding

contrib/glue/glue.py:575–589  ·  view source on GitHub ↗

Return the padding for this image based on the filename and the sprite settings file. * ``filename.png`` will have the default padding ``10px``. * ``filename_20.png`` -> ``20px`` all around the image. * ``filename_1-2-3.png`` -> ``1px 2px 3px 2px`` around the image.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_generate_paddingMethod · 0.95

Tested by

no test coverage detected