C# 클래스 Monobjc.Foundation.GeometryExtensions

Extension method to go back and forth between NSXXX and CGXXX structures.
파일 보기 프로젝트 열기: Monobjc/monobjc

공개 메소드들

메소드 설명
ToCGPoint ( this origin ) : CGPoint
ToCGRect ( this rect ) : CGRect
ToCGSize ( this size ) : CGSize
ToNSPoint ( this origin ) : NSPoint
ToNSRect ( this rect ) : NSRect
ToNSSize ( this size ) : NSSize

메소드 상세

ToCGPoint() 공개 정적인 메소드

public static ToCGPoint ( this origin ) : CGPoint
origin this
리턴 Monobjc.ApplicationServices.CGPoint

ToCGRect() 공개 정적인 메소드

public static ToCGRect ( this rect ) : CGRect
rect this
리턴 Monobjc.ApplicationServices.CGRect

ToCGSize() 공개 정적인 메소드

public static ToCGSize ( this size ) : CGSize
size this
리턴 Monobjc.ApplicationServices.CGSize

ToNSPoint() 공개 정적인 메소드

public static ToNSPoint ( this origin ) : NSPoint
origin this
리턴 NSPoint

ToNSRect() 공개 정적인 메소드

public static ToNSRect ( this rect ) : NSRect
rect this
리턴 NSRect

ToNSSize() 공개 정적인 메소드

public static ToNSSize ( this size ) : NSSize
size this
리턴 NSSize