def __init__(self, parent, name=None, border=None, aspect=None, size=[1, 1], pos=[0, 0],
				sub_theme='', options=BGUI_DEFAULT):
		"""
		:param parent: the widget's parent
		:param name: the name of the widget
		:param border: the size of the border around the frame (0 for no border)
		:param aspect: constrain the widget size to a specified aspect ratio
		:param size: a tuple containing the width and height
		:param pos: a tuple containing the x and y position
		:param sub_theme: name of a sub_theme defined in the theme file (similar to CSS classes)
		:param options: various other options

		"""

		Widget.__init__(self, parent, name, aspect, size, pos, sub_theme, options)

		#: The colors for the four corners of the frame.
		self.colors = [
				self.theme['Color1'],
				self.theme['Color2'],
				self.theme['Color3'],
				self.theme['Color4']
				]

		#: The color of the border around the frame.
		self.border_color = self.theme['BorderColor']
		
		#: The size of the border around the frame.
		if border is not None:
			self.border = border
		else:
			self.border = self.theme['BorderSize']
dataset/ETHPy150Open Moguri/bgui/bgui/frame.py/Frame.__init__/original