C# 클래스 Monobjc.Foundation.NSPoint

파일 보기 프로젝트 열기: Monobjc/monobjc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NSZeroPoint NSPoint

공개 메소드들

메소드 설명
Add ( NSPoint nsPoint, NSSize nsSize ) : NSPoint

Translates the point by the specified size.

CGPointFromNSPoint ( NSPoint nspoint ) : CGPoint

Converts a NSPoint instance to a CGPoint

NSEqualPoints ( NSPoint aPoint, NSPoint bPoint ) : bool

Tests two points for equality.

Original declaration is : BOOL NSEqualPoints(NSPoint aPoint, NSPoint bPoint)

NSMakePoint ( CGFloat x, CGFloat y ) : NSPoint

Creates a new NSPoint from the specified values.

Original declaration is : NSPoint NSMakePoint(float x, float y)

NSPointFromCGPoint ( CGPoint cgpoint ) : NSPoint

Converts a CGPoint instance to a NSPoint

Substract ( NSPoint nsPoint, NSSize nsSize ) : NSPoint

Translates the point by the specified size.

Substract ( NSPoint nsPoint1, NSPoint nsPoint2 ) : NSSize

Computes the size between the two points. The values are always positives.

operator ( ) : NSPoint

Implements the operator +.

operator ( ) : NSSize

Implements the operator -.

비공개 메소드들

메소드 설명
NSPointFromString ( [ MarshalTypeRef = typeof(IdMarshaler<NSString>))]NSStringaString ) : NSPoint
NSStringFromPoint ( NSPoint aPoint ) : NSString

메소드 상세

Add() 공개 정적인 메소드

Translates the point by the specified size.
public static Add ( NSPoint nsPoint, NSSize nsSize ) : NSPoint
nsPoint NSPoint A point.
nsSize NSSize A size.
리턴 NSPoint

CGPointFromNSPoint() 공개 정적인 메소드

Converts a NSPoint instance to a CGPoint
public static CGPointFromNSPoint ( NSPoint nspoint ) : CGPoint
nspoint NSPoint The to convert.
리턴 CGPoint

NSEqualPoints() 공개 정적인 메소드

Tests two points for equality.
Original declaration is : BOOL NSEqualPoints(NSPoint aPoint, NSPoint bPoint)
public static NSEqualPoints ( NSPoint aPoint, NSPoint bPoint ) : bool
aPoint NSPoint
bPoint NSPoint
리턴 bool

NSMakePoint() 공개 정적인 메소드

Creates a new NSPoint from the specified values.
Original declaration is : NSPoint NSMakePoint(float x, float y)
public static NSMakePoint ( CGFloat x, CGFloat y ) : NSPoint
x CGFloat
y CGFloat
리턴 NSPoint

NSPointFromCGPoint() 공개 정적인 메소드

Converts a CGPoint instance to a NSPoint
public static NSPointFromCGPoint ( CGPoint cgpoint ) : NSPoint
cgpoint CGPoint The to convert.
리턴 NSPoint

Substract() 공개 정적인 메소드

Translates the point by the specified size.
public static Substract ( NSPoint nsPoint, NSSize nsSize ) : NSPoint
nsPoint NSPoint A point.
nsSize NSSize A size.
리턴 NSPoint

Substract() 공개 정적인 메소드

Computes the size between the two points. The values are always positives.
public static Substract ( NSPoint nsPoint1, NSPoint nsPoint2 ) : NSSize
nsPoint1 NSPoint The point 1.
nsPoint2 NSPoint The point 2.
리턴 NSSize

operator() 공개 정적인 메소드

Implements the operator +.
public static operator ( ) : NSPoint
리턴 NSPoint

operator() 공개 정적인 메소드

Implements the operator -.
public static operator ( ) : NSSize
리턴 NSSize

프로퍼티 상세

NSZeroPoint 공개적으로 정적으로 프로퍼티

A NSPoint instance with its coordinates set to zero.
public static NSPoint,Monobjc.Foundation NSZeroPoint
리턴 NSPoint