C# Class ThirdParty.iOS4Unity.CGRect

ファイルを表示 Open project: aws/aws-sdk-net Class Usage Examples

Public Properties

Property Type Description
Empty CGRect
Height float
Width float
X float
Y float

Public Methods

Method Description
CGRect ( CGPoint location, CGSize size ) : System
CGRect ( float x, float y, float width, float height ) : System
Contains ( CGPoint pt ) : bool
Contains ( CGRect rect ) : bool
Contains ( float x, float y ) : bool
Equals ( object obj ) : bool
FromLTRB ( float left, float top, float right, float bottom ) : CGRect
GetHashCode ( ) : int
Inflate ( CGRect rect, float x, float y ) : CGRect
Inflate ( CGSize size ) : void
Inflate ( float x, float y ) : void
Intersect ( CGRect a, CGRect b ) : CGRect
Intersect ( CGRect rect ) : void
IntersectsWith ( CGRect rect ) : bool
Offset ( CGPoint pos ) : void
Offset ( float x, float y ) : void
ToString ( ) : string
Union ( CGRect a, CGRect b ) : CGRect
operator ( ) : bool

Private Methods

Method Description
IntersectsWithInclusive ( CGRect r ) : bool

Method Details

CGRect() public method

public CGRect ( CGPoint location, CGSize size ) : System
location CGPoint
size CGSize
return System

CGRect() public method

public CGRect ( float x, float y, float width, float height ) : System
x float
y float
width float
height float
return System

Contains() public method

public Contains ( CGPoint pt ) : bool
pt CGPoint
return bool

Contains() public method

public Contains ( CGRect rect ) : bool
rect CGRect
return bool

Contains() public method

public Contains ( float x, float y ) : bool
x float
y float
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FromLTRB() public static method

public static FromLTRB ( float left, float top, float right, float bottom ) : CGRect
left float
top float
right float
bottom float
return CGRect

GetHashCode() public method

public GetHashCode ( ) : int
return int

Inflate() public static method

public static Inflate ( CGRect rect, float x, float y ) : CGRect
rect CGRect
x float
y float
return CGRect

Inflate() public method

public Inflate ( CGSize size ) : void
size CGSize
return void

Inflate() public method

public Inflate ( float x, float y ) : void
x float
y float
return void

Intersect() public static method

public static Intersect ( CGRect a, CGRect b ) : CGRect
a CGRect
b CGRect
return CGRect

Intersect() public method

public Intersect ( CGRect rect ) : void
rect CGRect
return void

IntersectsWith() public method

public IntersectsWith ( CGRect rect ) : bool
rect CGRect
return bool

Offset() public method

public Offset ( CGPoint pos ) : void
pos CGPoint
return void

Offset() public method

public Offset ( float x, float y ) : void
x float
y float
return void

ToString() public method

public ToString ( ) : string
return string

Union() public static method

public static Union ( CGRect a, CGRect b ) : CGRect
a CGRect
b CGRect
return CGRect

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Empty public_oe static_oe property

public static CGRect,ThirdParty.iOS4Unity Empty
return CGRect

Height public_oe property

public float Height
return float

Width public_oe property

public float Width
return float

X public_oe property

public float X
return float

Y public_oe property

public float Y
return float