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

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

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

Свойство Тип Описание
CGSizeZero CGSize

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

Метод Описание
Add ( CGSize size1, CGSize size2 ) : CGSize

Returns the sum of the two sizes instances.

CGSizeEqualToSize ( CGSize size1, CGSize size2 ) : int

Indicates whether two sizes are equal.

Original declaration is : int CGSizeEqualToSize ( CGSize size1, CGSize size2 );

CGSizeMake ( CGFloat width, CGFloat height ) : CGSize

Returns a size structure constructed from dimension values you provide.

Original declaration is : CGSize CGSizeMake ( float width, float height );

Divide ( CGSize size, CGFloat factor ) : CGSize

Returns the result of the division of the size instance by the given factor.

Multiply ( CGSize size, CGFloat factor ) : CGSize

Returns the product of the size instance by the given factor.

Substract ( CGSize size1, CGSize size2 ) : CGSize

Returns the difference of the two sizes instances.

operator ( ) : CGSize

Implements the operator +.

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

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

Returns the sum of the two sizes instances.
public static Add ( CGSize size1, CGSize size2 ) : CGSize
size1 CGSize A size.
size2 CGSize A size.
Результат CGSize

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

Indicates whether two sizes are equal.
Original declaration is : int CGSizeEqualToSize ( CGSize size1, CGSize size2 );
public static CGSizeEqualToSize ( CGSize size1, CGSize size2 ) : int
size1 CGSize The first size to examine.
size2 CGSize The second size to examine.
Результат int

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

Returns a size structure constructed from dimension values you provide.
Original declaration is : CGSize CGSizeMake ( float width, float height );
public static CGSizeMake ( CGFloat width, CGFloat height ) : CGSize
width CGFloat A width value.
height CGFloat A height value.
Результат CGSize

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

Returns the result of the division of the size instance by the given factor.
public static Divide ( CGSize size, CGFloat factor ) : CGSize
size CGSize The size.
factor CGFloat The factor.
Результат CGSize

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

Returns the product of the size instance by the given factor.
public static Multiply ( CGSize size, CGFloat factor ) : CGSize
size CGSize The size.
factor CGFloat The factor.
Результат CGSize

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

Returns the difference of the two sizes instances.
public static Substract ( CGSize size1, CGSize size2 ) : CGSize
size1 CGSize A size.
size2 CGSize A size.
Результат CGSize

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

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

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

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

A CGSize with its width and height set to zero.
public static CGSize,Monobjc.ApplicationServices CGSizeZero
Результат CGSize