Category5.Rectangle2D.getScaledDrawingRect C# (CSharp) 메소드

getScaledDrawingRect() 공개 메소드

public getScaledDrawingRect ( float factor ) : Rectangle
factor float
리턴 Microsoft.Xna.Framework.Rectangle
        public Rectangle getScaledDrawingRect(float factor)
        {
            Rectangle2D workingrect = getScaled(factor);

            return new Rectangle((int)Center.X, (int)Center.Y, (int)workingrect.Width, (int)workingrect.Height);
        }