'''[[[cog
import element_utilities

element_utilities.generate_element('../schemas/uipicture_schema.json')
]]]'''
# GENERATED SECTION, DO NOT HAND EDIT
class UIPicture(UIElement):
	def __init__(self, type, origin, size, justify, anchor, color, alpha, mod_col, mod_alp, image):
		self.type = type
		self.origin = origin
		self.size = size
		self.justify = justify
		self.anchor = anchor
		self.color = color
		self.alpha = alpha
		self.mod_col = mod_col
		self.mod_alp = mod_alp
		self.image = image

# [ Data Getter / Setter ]
	def _get_image(self):
		return self.__image

	def _set_image(self, value):
		if not isinstance(value, str):
			raise TypeError("image must be set to a string")
		self.__image = value


# [ Public Properties ]
	image = property(_get_image, _set_image) #string

# [ Backing Properties ]
	__image = "" #string
# END GENERATED SECTION
#[[[end]]]