C# Class Pokemon3D.Common.Extensions.RectangleExtension

Mostra file Open project: nilllzz/Pokemon3D

Public Methods

Method Description
Scale ( this rectangle, float scale ) : Rectangle
Translate ( this rectangle, int x, int y ) : Rectangle

Method Details

Scale() public static method

public static Scale ( this rectangle, float scale ) : Rectangle
rectangle this
scale float
return Microsoft.Xna.Framework.Rectangle

Translate() public static method

public static Translate ( this rectangle, int x, int y ) : Rectangle
rectangle this
x int
y int
return Microsoft.Xna.Framework.Rectangle