# master-addons/3.1.9/inc/controls/group/outline.php

Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder &amp; Template Kits, version 3.1.9. 107 lines.

- Page: https://pluginprobe.com/plugins/master-addons/3.1.9/code/inc/controls/group/outline.php
- Raw: https://pluginprobe.com/plugins/master-addons/3.1.9/raw/inc/controls/group/outline.php
- Modified: 2026-03-08T11:32:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/master-addons/3.1.9/code/inc/controls/group/outline.php#L10-L20`.

```php
<?php

namespace MasterAddons\Inc\Controls\Group;

use Elementor\Group_Control_Base;
use Elementor\Controls_Manager;

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly.
}

class JLTMA_Outline extends Group_Control_Base
{

    protected static $fields;

    public static function get_type()
    {
        return 'jltma-outline';
    }

    protected function init_fields()
    {
        $fields = [];

        $fields['outline'] = [
            'label' => _x('Outline Type', 'Outline Control', 'master-addons' ),
            'type' => Controls_Manager::SELECT,
            'options' => [
                '' => __('None', 'master-addons' ),
                'solid' => _x('Solid', 'Outline Control', 'master-addons' ),
                'double' => _x('Double', 'Outline Control', 'master-addons' ),
                'dotted' => _x('Dotted', 'Outline Control', 'master-addons' ),
                'dashed' => _x('Dashed', 'Outline Control', 'master-addons' ),
            ],
            'selectors' => [
                '{{SELECTOR}}' => 'outline-style: {{VALUE}};',
            ],
        ];
        $fields['width'] = [
            'label' => __('Width', 'master-addons' ),
            'type' => Controls_Manager::SLIDER,
            'default' => [
                'unit' => 'px',
            ],
            'range' => [
                'px' => [
                    'min' => 0,
                    'max' => 30,
                    'step' => 1,
                ],
            ],
            'size_units' => ['px'],
            'selectors' => [
                '{{SELECTOR}}' => 'outline-width: {{SIZE}}{{UNIT}};',
            ],
            'condition' => [
                'outline!' => '',
            ],
        ];
        $fields['offset'] = [
            'label' => _x('Offset', 'Outline Control', 'master-addons' ),
            'type' => Controls_Manager::SLIDER,
            'default' => [
                'unit' => 'px',
            ],
            'range' => [
                'px' => [
                    'min' => -100,
                    'max' => 100,
                    'step' => 1,
                ],
            ],
            'size_units' => ['px'],
            'selectors' => [
                '{{SELECTOR}}' => 'outline-offset: {{SIZE}}{{UNIT}};',
            ],
            'condition' => [
                'outline!' => '',
            ],
        ];
        $fields['color'] = [
            'label' => _x('Color', 'Outline Control', 'master-addons' ),
            'type' => Controls_Manager::COLOR,
            'selectors' => [
                '{{SELECTOR}}' => 'outline-color: {{VALUE}};',
            ],
            'condition' => [
                'outline!' => '',
            ],
        ];

        return $fields;
    }

    protected function get_default_options()
    {
        return [
            //'popover' => true,
            'popover' => [
                'starter_title' => _x('Outline', 'Outline Control', 'master-addons' ),
                'starter_name' => 'outline_wgt',
            ],
        ];
    }
}

```
