OurSonic.SonicEngine.Clear C# (CSharp) 메소드

Clear() 공개 메소드

public Clear ( CanvasInformation canv ) : void
canv OurSonic.Utility.CanvasInformation
리턴 void
        public void Clear(CanvasInformation canv)
        {
            int w;
            if (canv == gameCanvas)
                w = gameGoodWidth;
            else
                w = uiGoodWidth; 
            canv.DomCanvas[0].Me().width = w;

            gameCanvas.Context.Me().webkitImageSmoothingEnabled = false;
            gameCanvas.Context.Me().mozImageSmoothingEnabled = false;
            gameCanvas.Context.Me().imageSmoothingEnabled = false;
        }