Microsoft.Xna.Framework.PointExtensions.ConsoleLocationToWorld C# (CSharp) Метод

ConsoleLocationToWorld() публичный статический Метод

Translates a console cell position to where it appears on the screen in pixels.
public static ConsoleLocationToWorld ( this point, int cellWidth, int cellHeight ) : Point
point this The current cell position.
cellWidth int The width of a cell in pixels.
cellHeight int The height of a cell in pixels.
Результат Point
        public static Point ConsoleLocationToWorld(this Point point, int cellWidth, int cellHeight)
        {
            return new Point(point.X * cellWidth, point.Y * cellHeight);
        }