C# 클래스 TiaraFramework.Component.Extend.EXT

파일 보기 프로젝트 열기: TiaraGames/TiaraFramework

공개 메소드들

메소드 설명
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