classdef MoveguiStrategyWebui
    % MoveguiStrategyWebui
    %
    % "movegui" strategy for scenario where feature is "webui"
    
    % Copyright 2023 The MathWorks, Inc.

    methods (Static)
        function [oldpos, widthAdjustment, heightAdjustment, borderEstimate] = getInitialPositioningInfo(fig)
            widthAdjustment = 0;
            heightAdjustment = 0;
            borderEstimate = 0;

            % save figure position before making adjustments
            oldpos = get(fig, 'OuterPosition');
        end

        function setNewAdjustedPositioning(fig, newpos, ~, ~)
            set(fig, 'OuterPosition', newpos);
        end
    end
end