local O=import("\046\046\047\116\121\112\101\115\047\067\111\108\111\114\051")local v=import("\046\047\071\117\105\079\098\106\101\099\116")local D=import("\046\046\047\073\110\115\116\097\110\099\101\080\114\111\112\101\114\116\121")local L=import("\046\046\047\116\121\112\101\115\047\082\101\099\116")local M=import("\046\046\047\069\110\117\109\047\083\099\097\108\101\084\121\112\101")local A=import("\046\046\047\116\121\112\101\115\047\086\101\099\116\111\114\050")local f=v:extend("\073\109\097\103\101\076\097\098\101\108",{creatable=true})f.properties.Image=D.typed("\115\116\114\105\110\103",{getDefault=function()return""end})f.properties.ImageColor3=D.typed("\067\111\108\111\114\051",{getDefault=function()return O.new()end})f.properties.ImageRectOffset=D.typed("\086\101\099\116\111\114\050",{getDefault=function()return A.new(0,0)end})f.properties.ImageRectSize=D.typed("\086\101\099\116\111\114\050",{getDefault=function()return A.new(0,0)end})f.properties.ScaleType=D.enum(M,{getDefault=function()return M.Stretch end})f.properties.SliceCenter=D.typed("\082\101\099\116",{getDefault=function()return L.new(0,0,1,1)end})return f
local Color3 = import("../types/Color3")
local GuiObject = import("./GuiObject")
local InstanceProperty = import("../InstanceProperty")
local Rect = import("../types/Rect")
local ScaleType = import("../Enum/ScaleType")
local Vector2 = import("../types/Vector2")

local ImageLabel = GuiObject:extend("ImageLabel", {
	creatable = true,
})

ImageLabel.properties.Image = InstanceProperty.typed("string", {
	getDefault = function()
		return ""
	end,
})

ImageLabel.properties.ImageColor3 = InstanceProperty.typed("Color3", {
	getDefault = function()
		return Color3.new()
	end,
})

ImageLabel.properties.ImageRectOffset = InstanceProperty.typed("Vector2", {
	getDefault = function()
		return Vector2.new(0, 0)
	end,
})

ImageLabel.properties.ImageRectSize = InstanceProperty.typed("Vector2", {
	getDefault = function()
		return Vector2.new(0, 0)
	end,
})

ImageLabel.properties.ScaleType = InstanceProperty.enum(ScaleType, {
	getDefault = function()
		return ScaleType.Stretch
	end,
})

ImageLabel.properties.SliceCenter = InstanceProperty.typed("Rect", {
	getDefault = function()
		return Rect.new(0, 0, 1, 1)
	end,
})

return ImageLabel