        function paint(obj, x, y)
            img = obj.getCData();
            img(y, x) = 1;
            obj.setCData(img);
            obj.setAlphaData(img);
        end
        
        %% unpaint
        % Remove a point to the CData and update the AlphaData accordingly
        %
        % *Paramters*
        %
        % |x|: x coordinate
        %
        % |y|: y coordinate
        function unpaint(obj, x, y)
            img = obj.getCData();
            img(y, x) = 0;
            obj.setCData(img);
