C# Класс Monobjc.ApplicationServices.CGPoint

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CGPointZero CGPoint

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

Метод Описание
Add ( CGPoint cgPoint, CGSize cgSize ) : CGPoint

Translates the point by the specified size.

CGPointEqualToPoint ( CGPoint point1, CGPoint point2 ) : int

Indicates whether two points are equal.

Original declaration is : int CGPointEqualToPoint ( CGPoint point1, CGPoint point2 );

CGPointMake ( CGFloat x, CGFloat y ) : CGPoint

Returns a point structure constructed from coordinate values you provide.

Original declaration is : CGPoint CGPointMake ( float x, float y );

Substract ( CGPoint cgPoint, CGSize cgSize ) : CGPoint

Translates the point by the specified size.

Substract ( CGPoint cgPoint1, CGPoint cgPoint2 ) : CGSize

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

operator ( ) : CGPoint

Implements the operator +.

operator ( ) : CGSize

Implements the operator -.

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

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

Translates the point by the specified size.
public static Add ( CGPoint cgPoint, CGSize cgSize ) : CGPoint
cgPoint CGPoint A point.
cgSize CGSize A size.
Результат CGPoint

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

Indicates whether two points are equal.
Original declaration is : int CGPointEqualToPoint ( CGPoint point1, CGPoint point2 );
public static CGPointEqualToPoint ( CGPoint point1, CGPoint point2 ) : int
point1 CGPoint The first point to examine.
point2 CGPoint The second point to examine.
Результат int

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

Returns a point structure constructed from coordinate values you provide.
Original declaration is : CGPoint CGPointMake ( float x, float y );
public static CGPointMake ( CGFloat x, CGFloat y ) : CGPoint
x CGFloat The x-coordinate of the point to construct.
y CGFloat The y-coordinate of the point to construct.
Результат CGPoint

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

Translates the point by the specified size.
public static Substract ( CGPoint cgPoint, CGSize cgSize ) : CGPoint
cgPoint CGPoint A point.
cgSize CGSize A size.
Результат CGPoint

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

Computes the size between the two points. The values are always positives.
public static Substract ( CGPoint cgPoint1, CGPoint cgPoint2 ) : CGSize
cgPoint1 CGPoint The point 1.
cgPoint2 CGPoint The point 2.
Результат CGSize

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

Implements the operator +.
public static operator ( ) : CGPoint
Результат CGPoint

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

Implements the operator -.
public static operator ( ) : CGSize
Результат CGSize

Описание свойств

CGPointZero публичное статическое свойство

A CGRect with its x and y set to zero.
public static CGPoint,Monobjc.ApplicationServices CGPointZero
Результат CGPoint