Apple_Exporter\Settings::alignment_offset PHP Method

alignment_offset() public method

When a component is displayed aligned relative to another one, slide the other component a few columns. This varies for centered and non-centered layouts, as centered layouts have more columns.
Since: 0.4.0
public alignment_offset ( ) : string
return string
    public function alignment_offset()
    {
        return 'center' == $this->get('body_orientation') ? 3 : 2;
    }