Skip to content

Instantly share code, notes, and snippets.

@david-littlefield
Created May 1, 2022 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save david-littlefield/1a8261348577396f52b56c27c0ed48bf to your computer and use it in GitHub Desktop.
Save david-littlefield/1a8261348577396f52b56c27c0ed48bf to your computer and use it in GitHub Desktop.
[6 Title Controls] Provides user interface for 5 text field controls. #after_effects #anchor_point #position #size #text_field #title
var margin_control_composition = comp("Input");
var margin_control_layer = margin_control_composition.layer("Controller - All");
var margin_control_effect = margin_control_layer.effect("Margin");
var margin_control_slider = margin_control_effect("Slider");
var padding_control_composition = comp("Input");
var padding_control_layer = padding_control_composition.layer("Controller - All");
var padding_control_effect = padding_control_layer.effect("Padding");
var padding_control_slider = padding_control_effect("Slider");
var text_field_width_control_composition = comp("Input");
var text_field_width_control_layer = text_field_width_control_composition.layer("Controller - All");
var text_field_width_control_effect = text_field_width_control_layer.effect("Text Field Width");
var text_field_width_control_slider = text_field_width_control_effect("Slider");
var text_field_height_control_composition = comp("Input");
var text_field_height_control_layer = text_field_height_control_composition.layer("Controller - All");
var text_field_height_control_effect = text_field_height_control_layer.effect("Text Field Height");
var text_field_height_control_slider = text_field_height_control_effect("Slider");
var font_size_control_composition = comp("Input");
var font_size_control_layer = font_size_control_composition.layer("Controller - All");
var font_size_control_effect = font_size_control_layer.effect("Font Size");
var font_size_control_slider = font_size_control_effect("Slider");
var controller_composition = comp("Input");
var controller_composition_width = controller_composition.width;
var controller_composition_height = controller_composition.height;
var controller_layer = controller_composition.layer("Controller - All");
var controller_rectangle = controller_layer.sourceRectAtTime();
var controller_left = controller_rectangle.left;
var controller_top = controller_rectangle.top;
var controller_width = controller_rectangle.width;
var controller_height = controller_rectangle.height;
var controller_anchor_point_x_value = controller_left + (controller_width * 0.5);
var controller_anchor_point_y_value = controller_top + (controller_height * 0.5);
var title_1_label_composition = comp("Input");
var title_1_label_layer = title_1_label_composition.layer("Title 1 Label");
var title_1_label_properties = title_1_label_layer.text;
var title_1_label_source = title_1_label_properties.sourceText;
var title_1_label_style = title_1_label_source.style;
var title_1_label_size = title_1_label_style.fontSize;
var title_1_label_leading = title_1_label_style.autoLeading ? (title_label_size * 1.2) : title_1_label_style.leading;
var title_1_label_rectangle = title_1_label_layer.sourceRectAtTime();
var title_1_label_left = title_1_label_rectangle.left;
var title_1_label_top = title_1_label_rectangle.top;
var title_1_label_width = title_1_label_rectangle.width;
var title_1_label_height = title_1_label_rectangle.height;
var title_1_label_lines = Math.ceil(title_label_height / title_1_label_leading);
var title_1_label_lines_height = title_1_label_size * title_1_label_lines;
var title_1_label_x_height = title_1_label_height / title_1_label_lines;
var title_1_label_anchor_point_x_value = title_1_label_left;
var title_1_label_anchor_point_y_value = title_1_label_top;
var title_1_composition = comp("Input");
var title_1_layer = title_1_composition.layer("Title 1");
var title_1_properties = title_1_layer.text;
var title_1_source = title_1_properties.sourceText;
var title_1_style = title_1_source.style;
var title_1_size = title_1_style.fontSize;
var title_1_leading = title_1_style.autoLeading ? (title_size * 1.2) : title_1_style.leading;
var title_1_rectangle = title_1_layer.sourceRectAtTime();
var title_1_left = title_1_rectangle.left;
var title_1_top = title_1_rectangle.top;
var title_1_width = title_1_rectangle.width;
var title_1_height = title_1_rectangle.height;
var title_1_lines = Math.ceil(title_height / title_1_leading);
var title_1_lines_height = title_1_size * title_1_lines;
var title_1_x_height = title_1_height / title_1_lines;
var title_1_anchor_point_x_value = title_1_left;
var title_1_anchor_point_y_value = title_1_top;
var title_1_background_composition = comp("Input");
var title_1_background_layer = title_1_background_composition.layer("Title 1 Background");
var title_1_background_position = title_1_background_layer.position;
var title_1_background_x_value = title_1_background_position[0];
var title_1_background_y_value = title_1_background_position[1];
var title_1_background_rectangle = title_1_background_layer.sourceRectAtTime();
var title_1_background_left = title_1_background_rectangle.left;
var title_1_background_top = title_1_background_rectangle.top;
var title_1_background_width = title_1_background_rectangle.width;
var title_1_background_height = title_1_background_rectangle.height;
var title_1_background_anchor_point_x_value = title_1_background_left + (title_1_background_width * 0.5);
var title_1_background_anchor_point_y_value = title_1_background_top + (title_1_background_height * 0.5);
var title_2_label_composition = comp("Input");
var title_2_label_layer = title_2_label_composition.layer("Title 2");
var title_2_label_properties = title_2_label_layer.text;
var title_2_label_source = title_2_label_properties.sourceText;
var title_2_label_style = title_2_label_source.style;
var title_2_label_size = title_2_label_style.fontSize;
var title_2_label_leading = title_2_label_style.autoLeading ? (title_2_label_size * 1.2) : title_2_label_style.leading;
var title_2_label_rectangle = title_2_label_layer.sourceRectAtTime();
var title_2_label_left = title_2_label_rectangle.left;
var title_2_label_top = title_2_label_rectangle.top;
var title_2_label_width = title_2_label_rectangle.width;
var title_2_label_height = title_2_label_rectangle.height;
var title_2_label_lines = Math.ceil(title_2_label_height / title_2_label_leading);
var title_2_label_lines_height = title_2_label_size * title_2_label_lines;
var title_2_label_x_height = title_2_label_height / title_2_label_lines;
var title_2_label_anchor_point_x_value = title_2_label_left;
var title_2_label_anchor_point_y_value = title_2_label_top;
var title_2_composition = comp("Input");
var title_2_layer = title_2_composition.layer("Title 2");
var title_2_properties = title_2_layer.text;
var title_2_source = title_2_properties.sourceText;
var title_2_style = title_2_source.style;
var title_2_size = title_2_style.fontSize;
var title_2_leading = title_2_style.autoLeading ? (title_2_size * 1.2) : title_2_style.leading;
var title_2_rectangle = title_2_layer.sourceRectAtTime();
var title_2_left = title_2_rectangle.left;
var title_2_top = title_2_rectangle.top;
var title_2_width = title_2_rectangle.width;
var title_2_height = title_2_rectangle.height;
var title_2_lines = Math.ceil(title_2_height / title_2_leading);
var title_2_lines_height = title_2_size * title_2_lines;
var title_2_x_height = title_2_height / title_2_lines;
var title_2_anchor_point_x_value = title_2_left;
var title_2_anchor_point_y_value = title_2_top;
var title_2_background_composition = comp("Input");
var title_2_background_layer = title_2_background_composition.layer("Title 2 Background");
var title_2_background_position = title_2_background_layer.position;
var title_2_background_x_value = title_2_background_position[0];
var title_2_background_y_value = title_2_background_position[1];
var title_2_background_rectangle = title_2_background_layer.sourceRectAtTime();
var title_2_background_left = title_2_background_rectangle.left;
var title_2_background_top = title_2_background_rectangle.top;
var title_2_background_width = title_2_background_rectangle.width;
var title_2_background_height = title_2_background_rectangle.height;
var title_2_background_anchor_point_x_value = title_2_background_left + (title_2_background_width * 0.5);
var title_2_background_anchor_point_y_value = title_2_background_top + (title_2_background_height * 0.5);
var title_3_label_composition = comp("Input");
var title_3_label_layer = title_3_label_composition.layer("Title 3 Label");
var title_3_label_properties = title_3_label_layer.text;
var title_3_label_source = title_3_label_properties.sourceText;
var title_3_label_style = title_3_label_source.style;
var title_3_label_size = title_3_label_style.fontSize;
var title_3_label_leading = title_3_label_style.autoLeading ? (title_3_label_size * 1.2) : title_3_label_style.leading;
var title_3_label_rectangle = title_3_label_layer.sourceRectAtTime();
var title_3_label_left = title_3_label_rectangle.left;
var title_3_label_top = title_3_label_rectangle.top;
var title_3_label_width = title_3_label_rectangle.width;
var title_3_label_height = title_3_label_rectangle.height;
var title_3_label_lines = Math.ceil(title_3_label_height / title_3_label_leading);
var title_3_label_lines_height = title_3_label_size * title_3_label_lines;
var title_3_label_x_height = title_3_label_height / title_3_label_lines;
var title_3_label_anchor_point_x_value = title_3_label_left;
var title_3_label_anchor_point_y_value = title_3_label_top;
var title_3_composition = comp("Input");
var title_3_layer = title_3_composition.layer("Title 3");
var title_3_properties = title_3_layer.text;
var title_3_source = title_3_properties.sourceText;
var title_3_style = title_3_source.style;
var title_3_size = title_3_style.fontSize;
var title_3_leading = title_3_style.autoLeading ? (title_3_size * 1.2) : title_3_style.leading;
var title_3_rectangle = title_3_layer.sourceRectAtTime();
var title_3_left = title_3_rectangle.left;
var title_3_top = title_3_rectangle.top;
var title_3_width = title_3_rectangle.width;
var title_3_height = title_3_rectangle.height;
var title_3_lines = Math.ceil(title_3_height / title_3_leading);
var title_3_lines_height = title_3_size * title_3_lines;
var title_3_x_height = title_3_height / title_3_lines;
var title_3_anchor_point_x_value = title_3_left;
var title_3_anchor_point_y_value = title_3_top;
var title_3_background_composition = comp("Input");
var title_3_background_layer = title_3_background_composition.layer("Title 3 Background");
var title_3_background_position = title_3_background_layer.position;
var title_3_background_x_value = title_3_background_position[0];
var title_3_background_y_value = title_3_background_position[1];
var title_3_background_rectangle = title_3_background_layer.sourceRectAtTime();
var title_3_background_left = title_3_background_rectangle.left;
var title_3_background_top = title_3_background_rectangle.top;
var title_3_background_width = title_3_background_rectangle.width;
var title_3_background_height = title_3_background_rectangle.height;
var title_3_background_anchor_point_x_value = title_3_background_left + (title_3_background_width * 0.5);
var title_3_background_anchor_point_y_value = title_3_background_top + (title_3_background_height * 0.5);
var title_4_label_composition = comp("Input");
var title_4_label_layer = title_4_label_composition.layer("Title 4 Label");
var title_4_label_properties = title_4_label_layer.text;
var title_4_label_source = title_4_label_properties.sourceText;
var title_4_label_style = title_4_label_source.style;
var title_4_label_size = title_4_label_style.fontSize;
var title_4_label_leading = title_4_label_style.autoLeading ? (title_4_label_size * 1.2) : title_4_label_style.leading;
var title_4_label_rectangle = title_4_label_layer.sourceRectAtTime();
var title_4_label_left = title_4_label_rectangle.left;
var title_4_label_top = title_4_label_rectangle.top;
var title_4_label_width = title_4_label_rectangle.width;
var title_4_label_height = title_4_label_rectangle.height;
var title_4_label_lines = Math.ceil(title_4_label_height / title_4_label_leading);
var title_4_label_lines_height = title_4_label_size * title_4_label_lines;
var title_4_label_x_height = title_4_label_height / title_4_label_lines;
var title_4_label_anchor_point_x_value = title_4_label_left;
var title_4_label_anchor_point_y_value = title_4_label_top;
var title_4_composition = comp("Input");
var title_4_layer = title_4_composition.layer("Title 4");
var title_4_properties = title_4_layer.text;
var title_4_source = title_4_properties.sourceText;
var title_4_style = title_4_source.style;
var title_4_size = title_4_style.fontSize;
var title_4_leading = title_4_style.autoLeading ? (title_4_size * 1.2) : title_4_style.leading;
var title_4_rectangle = title_4_layer.sourceRectAtTime();
var title_4_left = title_4_rectangle.left;
var title_4_top = title_4_rectangle.top;
var title_4_width = title_4_rectangle.width;
var title_4_height = title_4_rectangle.height;
var title_4_lines = Math.ceil(title_4_height / title_4_leading);
var title_4_lines_height = title_4_size * title_4_lines;
var title_4_x_height = title_4_height / title_4_lines;
var title_4_anchor_point_x_value = title_4_left;
var title_4_anchor_point_y_value = title_4_top;
var title_4_background_composition = comp("Input");
var title_4_background_layer = title_4_background_composition.layer("Title 4 Background");
var title_4_background_position = title_4_background_layer.position;
var title_4_background_x_value = title_4_background_position[0];
var title_4_background_y_value = title_4_background_position[1];
var title_4_background_rectangle = title_4_background_layer.sourceRectAtTime();
var title_4_background_left = title_4_background_rectangle.left;
var title_4_background_top = title_4_background_rectangle.top;
var title_4_background_width = title_4_background_rectangle.width;
var title_4_background_height = title_4_background_rectangle.height;
var title_4_background_anchor_point_x_value = title_4_background_left + (title_4_background_width * 0.5);
var title_4_background_anchor_point_y_value = title_4_background_top + (title_4_background_height * 0.5);
var title_5_label_composition = comp("Input");
var title_5_label_layer = title_5_label_composition.layer("Title 5 Label");
var title_5_label_properties = title_5_label_layer.text;
var title_5_label_source = title_5_label_properties.sourceText;
var title_5_label_style = title_5_label_source.style;
var title_5_label_size = title_5_label_style.fontSize;
var title_5_label_leading = title_5_label_style.autoLeading ? (title_5_label_size * 1.2) : title_5_label_style.leading;
var title_5_label_rectangle = title_5_label_layer.sourceRectAtTime();
var title_5_label_left = title_5_label_rectangle.left;
var title_5_label_top = title_5_label_rectangle.top;
var title_5_label_width = title_5_label_rectangle.width;
var title_5_label_height = title_5_label_rectangle.height;
var title_5_label_lines = Math.ceil(title_5_label_height / title_5_label_leading);
var title_5_label_lines_height = title_5_label_size * title_5_label_lines;
var title_5_label_x_height = title_5_label_height / title_5_label_lines;
var title_5_label_anchor_point_x_value = title_5_label_left;
var title_5_label_anchor_point_y_value = title_5_label_top;
var title_5_composition = comp("Input");
var title_5_layer = title_5_composition.layer("Title 5");
var title_5_properties = title_5_layer.text;
var title_5_source = title_5_properties.sourceText;
var title_5_style = title_5_source.style;
var title_5_size = title_5_style.fontSize;
var title_5_leading = title_5_style.autoLeading ? (title_5_size * 1.2) : title_5_style.leading;
var title_5_rectangle = title_5_layer.sourceRectAtTime();
var title_5_left = title_5_rectangle.left;
var title_5_top = title_5_rectangle.top;
var title_5_width = title_5_rectangle.width;
var title_5_height = title_5_rectangle.height;
var title_5_lines = Math.ceil(title_5_height / title_5_leading);
var title_5_lines_height = title_5_size * title_5_lines;
var title_5_x_height = title_5_height / title_5_lines;
var title_5_anchor_point_x_value = title_5_left;
var title_5_anchor_point_y_value = title_5_top;
var title_5_background_composition = comp("Input");
var title_5_background_layer = title_5_background_composition.layer("Title 5 Background");
var title_5_background_position = title_5_background_layer.position;
var title_5_background_x_value = title_5_background_position[0];
var title_5_background_y_value = title_5_background_position[1];
var title_5_background_rectangle = title_5_background_layer.sourceRectAtTime();
var title_5_background_left = title_5_background_rectangle.left;
var title_5_background_top = title_5_background_rectangle.top;
var title_5_background_width = title_5_background_rectangle.width;
var title_5_background_height = title_5_background_rectangle.height;
var title_5_background_anchor_point_x_value = title_5_background_left + (title_5_background_width * 0.5);
var title_5_background_anchor_point_y_value = title_5_background_top + (title_5_background_height * 0.5);
var title_6_label_composition = comp("Input");
var title_6_label_layer = title_6_label_composition.layer("Title 6 Label");
var title_6_label_properties = title_6_label_layer.text;
var title_6_label_source = title_6_label_properties.sourceText;
var title_6_label_style = title_6_label_source.style;
var title_6_label_size = title_6_label_style.fontSize;
var title_6_label_leading = title_6_label_style.autoLeading ? (title_6_label_size * 1.2) : title_6_label_style.leading;
var title_6_label_rectangle = title_6_label_layer.sourceRectAtTime();
var title_6_label_left = title_6_label_rectangle.left;
var title_6_label_top = title_6_label_rectangle.top;
var title_6_label_width = title_6_label_rectangle.width;
var title_6_label_height = title_6_label_rectangle.height;
var title_6_label_lines = Math.ceil(title_6_label_height / title_6_label_leading);
var title_6_label_lines_height = title_6_label_size * title_6_label_lines;
var title_6_label_x_height = title_6_label_height / title_6_label_lines;
var title_6_label_anchor_point_x_value = title_6_label_left;
var title_6_label_anchor_point_y_value = title_6_label_top;
var title_6_composition = comp("Input");
var title_6_layer = title_6_composition.layer("Title 6");
var title_6_properties = title_6_layer.text;
var title_6_source = title_6_properties.sourceText;
var title_6_style = title_6_source.style;
var title_6_size = title_6_style.fontSize;
var title_6_leading = title_6_style.autoLeading ? (title_6_size * 1.2) : title_6_style.leading;
var title_6_rectangle = title_6_layer.sourceRectAtTime();
var title_6_left = title_6_rectangle.left;
var title_6_top = title_6_rectangle.top;
var title_6_width = title_6_rectangle.width;
var title_6_height = title_6_rectangle.height;
var title_6_lines = Math.ceil(title_6_height / title_6_leading);
var title_6_lines_height = title_6_size * title_6_lines;
var title_6_x_height = title_6_height / title_6_lines;
var title_6_anchor_point_x_value = title_6_left;
var title_6_anchor_point_y_value = title_6_top;
var title_6_background_composition = comp("Input");
var title_6_background_layer = title_6_background_composition.layer("Title 6 Background");
var title_6_background_position = title_6_background_layer.position;
var title_6_background_x_value = title_6_background_position[0];
var title_6_background_y_value = title_6_background_position[1];
var title_6_background_rectangle = title_6_background_layer.sourceRectAtTime();
var title_6_background_left = title_6_background_rectangle.left;
var title_6_background_top = title_6_background_rectangle.top;
var title_6_background_width = title_6_background_rectangle.width;
var title_6_background_height = title_6_background_rectangle.height;
var title_6_background_anchor_point_x_value = title_6_background_left + (title_6_background_width * 0.5);
var title_6_background_anchor_point_y_value = title_6_background_top + (title_6_background_height * 0.5);
var background_composition = comp("Input");
var background_composition_width = background_composition.width;
var background_composition_height = background_composition.height;
var background_layer = background_composition.layer("Background");
var background_position = background_layer.position;
var background_x_value = background_position[0];
var background_y_value = background_position[1];
var background_rectangle = background_layer.sourceRectAtTime();
var background_left = background_rectangle.left;
var background_top = background_rectangle.top;
var background_width = background_rectangle.width;
var background_height = background_rectangle.height;
var background_anchor_point_x_value = background_left + (background_width * 0.5);
var background_anchor_point_y_value = background_top + (background_height * 0.5);
var controller_position_x_value = controller_composition_width * 0.5;
var controller_position_y_value = controller_composition_height * 0.5;
var title_1_label_position_x_value = title_1_background_x_value - (title_1_background_width * 0.5);
var title_1_label_position_y_value = title_1_background_y_value - (title_1_background_height * 0.5) - padding_control_slider - title_1_label_height;
var title_1_position_x_value = title_1_background_x_value - (title_1_background_width * 0.5) + (padding_control_slider * 2.0);
var title_1_position_y_value = title_1_background_y_value - (title_1_background_height * 0.5) + (title_1_background_height - title_1_height) * 0.5;
var title_1_background_position_x_value = background_x_value - (background_width * 0.5) + margin_control_slider + (text_field_width_control_slider * 0.5);
var title_1_background_position_y_value = background_y_value - (background_height * 0.5) + (margin_control_slider * 1.0) + (text_field_height_control_slider * 0.5) + font_size_control_slider;
var title_1_background_size_width = text_field_width_control_slider;
var title_1_background_size_height = text_field_height_control_slider;
var title_2_label_position_x_value = title_2_background_x_value - (title_2_background_width * 0.5);
var title_2_label_position_y_value = title_2_background_y_value - (title_2_background_height * 0.5) - padding_control_slider - title_2_label_height;
var title_2_position_x_value = title_2_background_x_value - (title_2_background_width * 0.5) + (padding_control_slider * 2.0);
var title_2_position_y_value = title_2_background_y_value - (title_2_background_height * 0.5) + (title_2_background_height - title_2_height) * 0.5;
var title_2_background_position_x_value = background_x_value - (background_width * 0.5) + margin_control_slider + (text_field_width_control_slider * 0.5);
var title_2_background_position_y_value = background_y_value - (background_height * 0.5) + (margin_control_slider * 2.0) + (text_field_height_control_slider * 2.5) + font_size_control_slider;
var title_2_background_size_width = text_field_width_control_slider;
var title_2_background_size_height = text_field_height_control_slider;
var title_3_label_position_x_value = title_3_background_x_value - (title_3_background_width * 0.5);
var title_3_label_position_y_value = title_3_background_y_value - (title_3_background_height * 0.5) - padding_control_slider - title_3_label_height;
var title_3_position_x_value = title_3_background_x_value - (title_3_background_width * 0.5) + (padding_control_slider * 2.0);
var title_3_position_y_value = title_3_background_y_value - (title_3_background_height * 0.5) + (title_3_background_height - title_3_height) * 0.5;
var title_3_background_position_x_value = background_x_value - (background_width * 0.5) + margin_control_slider + (text_field_width_control_slider * 0.5);
var title_3_background_position_y_value = background_y_value - (background_height * 0.5) + (margin_control_slider * 3.0) + (text_field_height_control_slider * 3.5) + font_size_control_slider;
var title_3_background_size_width = text_field_width_control_slider;
var title_3_background_size_height = text_field_height_control_slider;
var title_4_label_position_x_value = title_4_background_x_value - (title_4_background_width * 0.5);
var title_4_label_position_y_value = title_4_background_y_value - (title_4_background_height * 0.5) - padding_control_slider - title_4_label_height;
var title_4_position_x_value = title_4_background_x_value - (title_4_background_width * 0.5) + (padding_control_slider * 2.0);
var title_4_position_y_value = title_4_background_y_value - (title_4_background_height * 0.5) + (title_4_background_height - title_4_height) * 0.5;
var title_4_background_position_x_value = background_x_value - (background_width * 0.5) + margin_control_slider + (text_field_width_control_slider * 0.5);
var title_4_background_position_y_value = background_y_value - (background_height * 0.5) + (margin_control_slider * 4.0) + (text_field_height_control_slider * 4.5) + font_size_control_slider;
var title_4_background_size_width = text_field_width_control_slider;
var title_4_background_size_height = text_field_height_control_slider;
var title_5_label_position_x_value = title_5_background_x_value - (title_5_background_width * 0.5);
var title_5_label_position_y_value = title_5_background_y_value - (title_5_background_height * 0.5) - padding_control_slider - title_5_label_height;
var title_5_position_x_value = title_5_background_x_value - (title_5_background_width * 0.5) + (padding_control_slider * 2.0);
var title_5_position_y_value = title_5_background_y_value - (title_5_background_height * 0.5) + (title_5_background_height - title_5_height) * 0.5;
var title_5_background_position_x_value = background_x_value - (background_width * 0.5) + margin_control_slider + (text_field_width_control_slider * 0.5);
var title_5_background_position_y_value = background_y_value - (background_height * 0.5) + (margin_control_slider * 5.0) + (text_field_height_control_slider * 5.5) + font_size_control_slider;
var title_5_background_size_width = text_field_width_control_slider;
var title_5_background_size_height = text_field_height_control_slider;
var title_6_label_position_x_value = title_6_background_x_value - (title_6_background_width * 0.5);
var title_6_label_position_y_value = title_6_background_y_value - (title_6_background_height * 0.5) - padding_control_slider - title_6_label_height;
var title_6_position_x_value = title_6_background_x_value - (title_6_background_width * 0.5) + (padding_control_slider * 2.0);
var title_6_position_y_value = title_6_background_y_value - (title_6_background_height * 0.5) + (title_6_background_height - title_6_height) * 0.5;
var title_6_background_position_x_value = background_x_value - (background_width * 0.5) + margin_control_slider + (text_field_width_control_slider * 0.5);
var title_6_background_position_y_value = background_y_value - (background_height * 0.5) + (margin_control_slider * 6.0) + (text_field_height_control_slider * 6.5) + font_size_control_slider;
var title_6_background_size_width = text_field_width_control_slider;
var title_6_background_size_height = text_field_height_control_slider;
var background_position_x_value = background_composition_width * 0.5;
var background_position_y_value = background_composition_height * 0.5;
var background_size_width = (margin_control_slider * 2.0) + text_field_width_control_slider;
var background_size_height = (margin_control_slider * 7.0) + (text_field_height_control_slider * 6.0) + font_size_control_slider;
[title_1_label_anchor_point_x_value, title_1_label_anchor_point_y_value];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment