- Posts: 2
- Joined: Fri Jul 22, 2016 8:04 am
In this Text+ example Shading element 4 creates a box behind the text. The Extend Horizontal and Vertical will size the box, and Round will control the radius of the corners
- Code: Select all
{
Tools = ordered() {
Text1 = TextPlus {
CtrlWZoom = false,
Inputs = {
GlobalOut = Input { Value = 200, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
Font = Input { Value = "Arial", },
StyledText = Input { Value = "Any Length", },
Style = Input { Value = "Bold", },
ManualFontKerningPlacement = Input {
Value = StyledText {
Array = {
},
Value = ""
},
},
SelectElement = Input { Value = 3, },
Select = Input { Value = 3, },
ShadingGradient1 = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1 },
[1] = { 1, 1, 1, 1 }
}
},
},
Enabled3 = Input { Value = 1, },
Enabled4 = Input { Value = 1, },
Level4 = Input { Value = 1, },
ExtendHorizontal4 = Input { Value = 0.147368421052632, },
ExtendVertical4 = Input { Value = 0.0842105263157895, },
Round4 = Input { Value = 0.068421052631579, },
Type4 = Input { Value = 2, },
Green4 = Input { Value = 0.478991596638655, },
ShadingGradient4 = Input {
Value = Gradient {
Colors = {
[0] = { 0.166666666666667, 0.166666666666667, 0.166666666666667, 1 },
[0.503937007874016] = { 1, 1, 1, 1 },
[1] = { 0.306666666666667, 0.306666666666667, 0.306666666666667, 1 }
}
},
},
ShadingMappingAngle4 = Input { Value = -135.9574468, },
Type3 = Input { Value = 2, },
ShadingGradient3 = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1 },
[1] = { 1, 1, 1, 1 }
}
},
},
},
ViewInfo = OperatorInfo { Pos = { 1546, 158 } },
}
},
ActiveTool = "Text1"
}