C# 클래스 Monobjc.ApplicationServices.CGSize

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

공개 프로퍼티들

프로퍼티 타입 설명
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