layeredimage/layergroup.py
def json(self) -> dict[str, Any]:
		"""Get the object as a dict."""
		return {
			"name": self.name,
			"offsets": self.offsets,
			"opacity": self.opacity,
			"visible": self.visible,
			"dimensions": self.dimensions,
			"type": "LAYER",
			"blendmode": self.blendmode.name,
		}
Get the object as a dict.
Get the object as a dict.
Get the object as a dict .
def json(self) -> dict[str, Any]:
		return {
			"name": self.name,
			"offsets": self.offsets,
			"opacity": self.opacity,
			"visible": self.visible,
			"dimensions": self.dimensions,
			"type": "LAYER",
			"blendmode": self.blendmode.name,
		}
def json ( self ) -> dict [ str , Any ] : return { "name" : self . name , "offsets" : self . offsets , "opacity" : self . opacity , "visible" : self . visible , "dimensions" : self . dimensions , "type" : "LAYER" , "blendmode" : self . blendmode . name , }
Get the object as a dict.
Get the object as a dict .
"""Get the object as a dict."""
self