C# Class Treefrog.Render.ToXnaInterop

Exibir arquivo Open project: jaquadro/Treefrog

Public Methods

Method Description
ToXnaColor ( this color ) : Microsoft.Xna.Framework.Color
ToXnaPoint ( this point ) : Point
ToXnaRectangle ( this rect ) : Rectangle
ToXnaVector2 ( this point ) : Vector2

Method Details

ToXnaColor() public static method

public static ToXnaColor ( this color ) : Microsoft.Xna.Framework.Color
color this
return Microsoft.Xna.Framework.Color

ToXnaPoint() public static method

public static ToXnaPoint ( this point ) : Point
point this
return Microsoft.Xna.Framework.Point

ToXnaRectangle() public static method

public static ToXnaRectangle ( this rect ) : Rectangle
rect this
return Microsoft.Xna.Framework.Rectangle

ToXnaVector2() public static method

public static ToXnaVector2 ( this point ) : Vector2
point this
return Microsoft.Xna.Framework.Vector2