C# 클래스 SpeedSketch.CGMathExtensions

파일 보기 프로젝트 열기: xamarin/monotouch-samples

공개 메소드들

메소드 설명
Add ( this left, CGVector right ) : CGPoint
Apply ( this vector, CGAffineTransform transform ) : CGVector
Distance ( CGPoint point1, CGPoint point2 ) : nfloat
GetCenter ( this rect ) : CGPoint
Quadrance ( this vector ) : nfloat
Sub ( this left, CGVector right ) : CGPoint
Vector ( CGPoint start, CGPoint end ) : CGVector

메소드 상세

Add() 공개 정적인 메소드

public static Add ( this left, CGVector right ) : CGPoint
left this
right CGVector
리턴 CGPoint

Apply() 공개 정적인 메소드

public static Apply ( this vector, CGAffineTransform transform ) : CGVector
vector this
transform CGAffineTransform
리턴 CGVector

Distance() 공개 정적인 메소드

public static Distance ( CGPoint point1, CGPoint point2 ) : nfloat
point1 CGPoint
point2 CGPoint
리턴 nfloat

GetCenter() 공개 정적인 메소드

public static GetCenter ( this rect ) : CGPoint
rect this
리턴 CGPoint

Quadrance() 공개 정적인 메소드

public static Quadrance ( this vector ) : nfloat
vector this
리턴 nfloat

Sub() 공개 정적인 메소드

public static Sub ( this left, CGVector right ) : CGPoint
left this
right CGVector
리턴 CGPoint

Vector() 공개 정적인 메소드

public static Vector ( CGPoint start, CGPoint end ) : CGVector
start CGPoint
end CGPoint
리턴 CGVector