local y=import("\046\046\047\116\121\112\101\115\047\067\111\108\111\114\051")local R=import("\046\046\047\069\110\117\109\047\070\111\110\116")local F=import("\046\047\071\117\105\079\098\106\101\099\116")local c=import("\046\046\047\073\110\115\116\097\110\099\101\080\114\111\112\101\114\116\121")local a=import("\046\046\047\069\110\117\109\047\084\101\120\116\084\114\117\110\099\097\116\101")local o=import("\046\046\047\069\110\117\109\047\084\101\120\116\088\065\108\105\103\110\109\101\110\116")local A=import("\046\046\047\069\110\117\109\047\084\101\120\116\089\065\108\105\103\110\109\101\110\116")local M=F:extend("\084\101\120\116\076\097\098\101\108",{creatable=true})M.properties.Font=c.enum(R,{getDefault=function()return R.Legacy end})M.properties.Text=c.typed("\115\116\114\105\110\103",{getDefault=function()return"\076\097\098\101\108"end})M.properties.TextColor3=c.typed("\067\111\108\111\114\051",{getDefault=function()return y.fromRGB(27,42,53)end})M.properties.TextSize=c.typed("\110\117\109\098\101\114",{getDefault=function()return 14 end})M.properties.TextTransparency=c.typed("\110\117\109\098\101\114",{getDefault=function()return 0 end})M.properties.TextTruncate=c.enum(a,{getDefault=function()return a.None end})M.properties.TextWrapped=c.typed("\098\111\111\108\101\097\110",{getDefault=function()return false end})M.properties.TextScaled=c.typed("\098\111\111\108\101\097\110",{getDefault=function()return false end})M.properties.TextXAlignment=c.enum(o,{getDefault=function()return o.Left end})M.properties.TextYAlignment=c.enum(A,{getDefault=function()return A.Top end})return M
local Color3 = import("../types/Color3")
local Font = import("../Enum/Font")
local GuiObject = import("./GuiObject")
local InstanceProperty = import("../InstanceProperty")
local TextTruncate = import("../Enum/TextTruncate")
local TextXAlignment = import("../Enum/TextXAlignment")
local TextYAlignment = import("../Enum/TextYAlignment")

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

TextLabel.properties.Font = InstanceProperty.enum(Font, {
	getDefault = function()
		return Font.Legacy
	end,
})

TextLabel.properties.Text = InstanceProperty.typed("string", {
	getDefault = function()
		return "Label"
	end,
})

TextLabel.properties.TextColor3 = InstanceProperty.typed("Color3", {
	getDefault = function()
		return Color3.fromRGB(27, 42, 53)
	end,
})

TextLabel.properties.TextSize = InstanceProperty.typed("number", {
	getDefault = function()
		return 14
	end,
})

TextLabel.properties.TextTransparency = InstanceProperty.typed("number", {
	getDefault = function()
		return 0
	end,
})

TextLabel.properties.TextTruncate = InstanceProperty.enum(TextTruncate, {
	getDefault = function()
		return TextTruncate.None
	end,
})

TextLabel.properties.TextWrapped = InstanceProperty.typed("boolean", {
	getDefault = function()
		return false
	end,
})

TextLabel.properties.TextScaled = InstanceProperty.typed("boolean", {
	getDefault = function()
		return false
	end,
})

TextLabel.properties.TextXAlignment = InstanceProperty.enum(TextXAlignment, {
	getDefault = function()
		return TextXAlignment.Left
	end,
})

TextLabel.properties.TextYAlignment = InstanceProperty.enum(TextYAlignment, {
	getDefault = function()
		return TextYAlignment.Top
	end,
})

return TextLabel
