MCPcopy Create free account
hub / github.com/PageBot/PageBot / _set_size

Method _set_size

Lib/pagebot/elements/image.py:165–169  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

163 return self.w, self.h
164
165 def _set_size(self, size):
166 # Reset to original size by single None value.
167 if size is None:
168 size = None, None, None
169 self._w, self._h, self.d = units(point3D(size))
170
171 size = property(_get_size, _set_size)
172

Callers

nothing calls this directly

Calls 2

unitsFunction · 0.90
point3DFunction · 0.90

Tested by

no test coverage detected