{
    "common_btn@common.button": {
        "type": "button",
        "$control_alpha": 1.0,
        "$default_texture": "textures/netease/common/button/default",
        "$hover_texture": "textures/netease/common/button/hover",
        "$hud_btn_text": "smooth",
        "$is_new_nine_slice": false,
        "$label_color": [
            1,
            1,
            1
        ],
        "$label_font_scale_factor": 1.0,
        "$label_font_size": "large",
        "$label_layer": 3,
        "$label_offset": [
            0,
            0
        ],
        "$label_text": "打开界面",
        "$nine_slice_buttom": 0,
        "$nine_slice_left": 0,
        "$nine_slice_right": 0,
        "$nine_slice_top": 0,
        "$nineslice_size": [
            0,
            0,
            0,
            0
        ],
        "$pressed_button_name": "%netease_editor_template_namespace.click",
        "$pressed_texture": "textures/netease/common/button/pressed",
        "$texture_layer": 2,
        "size": [
            100,
            50
        ],
        "button_mappings": [],
        "default_control": "default",
        "hover_control": "hover",
        "is_handle_button_move_event": true,
        "pressed_control": "pressed",
        "bindings": [
            {
                "binding_type": "collection_details",
                "binding_collection_name": "",
                "binding_condition": "always_when_visible"
            }
        ],
        "controls": [
            {
                "default@netease_editor_template_namespace.default": {}
            },
            {
                "hover@netease_editor_template_namespace.hover": {}
            },
            {
                "pressed@netease_editor_template_namespace.pressed": {}
            },
            {
                "button_label@netease_editor_template_namespace.button_label": {
                    "$hud_btn_text|default": "smooth",
                    "font_type": "$hud_btn_text"
                }
            }
        ]
    },
    "main": {
        "type": "screen",
        "controls": [
            {
                "main_panel": {
                    "type": "panel",
                    "layer": 1,
                    "controls": [
                        {
                            "add_panel": {
                                "type": "panel",
                                "size": [
                                    "70%+0px",
                                    "70%+0px"
                                ],
                                "layer": 1,
                                "controls": [
                                    {
                                        "image": {
                                            "type": "image",
                                            "layer": 1,
                                            "fill": true,
                                            "keep_ratio": false,
                                            "nineslice_size": [
                                                0.0,
                                                0.0,
                                                0.0,
                                                0.0
                                            ],
                                            "texture": "textures/ui/background_panel"
                                        }
                                    },
                                    {
                                        "label": {
                                            "type": "label",
                                            "anchor_from": "top_middle",
                                            "anchor_to": "top_middle",
                                            "offset": [
                                                0.0,
                                                5.0
                                            ],
                                            "layer": 2,
                                            "font_size": "large",
                                            "font_type": "default",
                                            "text": "选择创建形状",
                                            "text_alignment": "center"
                                        }
                                    },
                                    {
                                        "add_btn_panel": {
                                            "type": "panel",
                                            "offset": [
                                                0.0,
                                                5.0
                                            ],
                                            "size": [
                                                "85%+0px",
                                                "60%+0px"
                                            ],
                                            "layer": 3,
                                            "controls": [
                                                {
                                                    "add_box_btn@SetDebugDrawing.common_btn": {
                                                        "$label_font_size": "normal",
                                                        "$label_text": "盒子形状\nBoxShape",
                                                        "anchor_from": "top_left",
                                                        "anchor_to": "top_left",
                                                        "size": [
                                                            "30%+0px",
                                                            "49%+0px"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "add_line_btn@SetDebugDrawing.common_btn": {
                                                        "$label_font_size": "normal",
                                                        "$label_text": "线条形状\nLineShape",
                                                        "anchor_from": "top_middle",
                                                        "anchor_to": "top_middle",
                                                        "layer": 11,
                                                        "size": [
                                                            "30%+0px",
                                                            "49%+0px"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "add_circle_btn@SetDebugDrawing.common_btn": {
                                                        "$label_font_size": "normal",
                                                        "$label_text": "圆形状\nCircleShape",
                                                        "anchor_from": "top_right",
                                                        "anchor_to": "top_right",
                                                        "layer": 21,
                                                        "size": [
                                                            "30%+0px",
                                                            "49%+0px"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "add_arrow_btn@SetDebugDrawing.common_btn": {
                                                        "$label_font_size": "normal",
                                                        "$label_text": "箭头形状\nArrowShape",
                                                        "anchor_from": "bottom_left",
                                                        "anchor_to": "bottom_left",
                                                        "layer": 31,
                                                        "size": [
                                                            "30%+0px",
                                                            "49%+0px"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "add_text_btn@SetDebugDrawing.common_btn": {
                                                        "$label_font_size": "normal",
                                                        "$label_text": "文本形状\nTextShape",
                                                        "anchor_from": "bottom_middle",
                                                        "anchor_to": "bottom_middle",
                                                        "layer": 41,
                                                        "size": [
                                                            "30%+0px",
                                                            "49%+0px"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "add_sphere_btn@SetDebugDrawing.common_btn": {
                                                        "$label_font_size": "normal",
                                                        "$label_text": "球形状\nSphereShape",
                                                        "anchor_from": "bottom_right",
                                                        "anchor_to": "bottom_right",
                                                        "layer": 51,
                                                        "size": [
                                                            "30%+0px",
                                                            "49%+0px"
                                                        ]
                                                    }
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "close_btn@SetDebugDrawing.common_btn": {
                                            "$label_font_size": "normal",
                                            "$label_text": "关闭",
                                            "anchor_from": "top_right",
                                            "anchor_to": "top_right",
                                            "layer": 64,
                                            "offset": [
                                                -2,
                                                2
                                            ],
                                            "size": [
                                                "15%+0px",
                                                "15%+0px"
                                            ]
                                        }
                                    },
                                    {
                                        "panel": {
                                            "type": "panel",
                                            "anchor_from": "bottom_middle",
                                            "anchor_to": "bottom_middle",
                                            "size": [
                                                "default",
                                                "10%+0px"
                                            ],
                                            "layer": 74,
                                            "controls": [
                                                {
                                                    "label": {
                                                        "type": "label",
                                                        "layer": 1,
                                                        "font_size": "large",
                                                        "font_type": "default",
                                                        "text": "盒子形状为UI创建，其他形状创建为直接调用接口创建",
                                                        "text_alignment": "center"
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    ]
                }
            }
        ]
    },
    "namespace": "SetDebugDrawing"
}