Ejemplo n.º 1
0
        public static void Render()
        {
            if (App.Setting.isBorder == false)
            {
                App.Model.SecondCanvasImage = Adjust.GetFeather(App.Model.MaskRenderTarget, App.Setting.Feather);
            }
            else
            {
                App.Model.SecondCanvasImage = Adjust.GetBorder(App.Model.MaskRenderTarget, App.Setting.Border);
            }

            App.Model.isReRender = true; //重新渲染
            App.Model.Refresh++;         //画布刷新
        }