C# Класс TiaraFramework.Component.Extend.EXT

Показать файл Открыть проект

Открытые методы

Метод Описание
Blend ( Microsoft.Xna.Framework.Graphics.Texture2D ttBack, Microsoft.Xna.Framework.Graphics.Texture2D ttFore, Vector2 Offset, Microsoft.Xna.Framework.Game game ) : Microsoft.Xna.Framework.Graphics.Texture2D
Divide ( this c, float divisor ) : Color
Expand ( this rect, Point point ) : Rectangle
GetAngle ( this v ) : float
GetAngle ( this v, Vector2 vec ) : float
GetNormalize ( this v ) : Vector2
GetSize ( this rect ) : Vector2
Minus ( this c, Color color ) : Color
Minus ( this c, int A, int R, int G, int B ) : Color
Minus ( this point, Point subPoint ) : Point
Move ( this rect, Vector2 vecMove ) : Rectangle
Move ( this rect, int X, int Y ) : Rectangle
Multiply ( this c, float factor ) : Color
Multiply ( this rect, float multiple, bool multiLocation ) : Rectangle
Plus ( this c, Color color ) : Color
Plus ( this c, int A, int R, int G, int B ) : Color
Plus ( this point, Point addPoint ) : Point
Rotate ( this vec, float omega ) : Vector2
Shrink ( this rect, Point point ) : Rectangle
ToPoint ( this vec ) : Point
ToVector2 ( this pt ) : Vector2
Zoom ( this rect, int value ) : Rectangle

Описание методов

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

public static Blend ( Microsoft.Xna.Framework.Graphics.Texture2D ttBack, Microsoft.Xna.Framework.Graphics.Texture2D ttFore, Vector2 Offset, Microsoft.Xna.Framework.Game game ) : Microsoft.Xna.Framework.Graphics.Texture2D
ttBack Microsoft.Xna.Framework.Graphics.Texture2D
ttFore Microsoft.Xna.Framework.Graphics.Texture2D
Offset Vector2
game Microsoft.Xna.Framework.Game
Результат Microsoft.Xna.Framework.Graphics.Texture2D

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

public static Divide ( this c, float divisor ) : Color
c this
divisor float
Результат Color

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

public static Expand ( this rect, Point point ) : Rectangle
rect this
point Point
Результат Microsoft.Xna.Framework.Rectangle

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

public static GetAngle ( this v ) : float
v this
Результат float

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

public static GetAngle ( this v, Vector2 vec ) : float
v this
vec Vector2
Результат float

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

public static GetNormalize ( this v ) : Vector2
v this
Результат Vector2

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

public static GetSize ( this rect ) : Vector2
rect this
Результат Vector2

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

public static Minus ( this c, Color color ) : Color
c this
color Color
Результат Color

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

public static Minus ( this c, int A, int R, int G, int B ) : Color
c this
A int
R int
G int
B int
Результат Color

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

public static Minus ( this point, Point subPoint ) : Point
point this
subPoint Point
Результат Point

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

public static Move ( this rect, Vector2 vecMove ) : Rectangle
rect this
vecMove Vector2
Результат Microsoft.Xna.Framework.Rectangle

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

public static Move ( this rect, int X, int Y ) : Rectangle
rect this
X int
Y int
Результат Microsoft.Xna.Framework.Rectangle

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

public static Multiply ( this c, float factor ) : Color
c this
factor float
Результат Color

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

public static Multiply ( this rect, float multiple, bool multiLocation ) : Rectangle
rect this
multiple float
multiLocation bool
Результат Microsoft.Xna.Framework.Rectangle

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

public static Plus ( this c, Color color ) : Color
c this
color Color
Результат Color

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

public static Plus ( this c, int A, int R, int G, int B ) : Color
c this
A int
R int
G int
B int
Результат Color

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

public static Plus ( this point, Point addPoint ) : Point
point this
addPoint Point
Результат Point

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

public static Rotate ( this vec, float omega ) : Vector2
vec this
omega float
Результат Vector2

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

public static Shrink ( this rect, Point point ) : Rectangle
rect this
point Point
Результат Microsoft.Xna.Framework.Rectangle

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

public static ToPoint ( this vec ) : Point
vec this
Результат Point

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

public static ToVector2 ( this pt ) : Vector2
pt this
Результат Vector2

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

public static Zoom ( this rect, int value ) : Rectangle
rect this
value int
Результат Microsoft.Xna.Framework.Rectangle