local u=import("\046\046\047\116\121\112\101\115\047\067\111\108\111\114\051")local s=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 d=import("\046\046\047\073\110\115\116\097\110\099\101\080\114\111\112\101\114\116\121")local C=import("\046\046\047\069\110\117\109\047\084\101\120\116\084\114\117\110\099\097\116\101")local j=import("\046\046\047\069\110\117\109\047\084\101\120\116\088\065\108\105\103\110\109\101\110\116")local F=import("\046\046\047\069\110\117\109\047\084\101\120\116\089\065\108\105\103\110\109\101\110\116")local S=f:extend("\084\101\120\116\076\097\098\101\108",{creatable=true})S.properties.Font=d.enum(s,{getDefault=function()return s.Legacy end})S.properties.Text=d.typed("\115\116\114\105\110\103",{getDefault=function()return"\076\097\098\101\108"end})S.properties.TextColor3=d.typed("\067\111\108\111\114\051",{getDefault=function()return u.fromRGB(27,42,53)end})S.properties.TextSize=d.typed("\110\117\109\098\101\114",{getDefault=function()return 14 end})S.properties.TextTransparency=d.typed("\110\117\109\098\101\114",{getDefault=function()return 0 end})S.properties.TextTruncate=d.enum(C,{getDefault=function()return C.None end})S.properties.TextWrapped=d.typed("\098\111\111\108\101\097\110",{getDefault=function()return false end})S.properties.TextScaled=d.typed("\098\111\111\108\101\097\110",{getDefault=function()return false end})S.properties.TextXAlignment=d.enum(j,{getDefault=function()return j.Left end})S.properties.TextYAlignment=d.enum(F,{getDefault=function()return F.Top end})return S
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
