C# Class Treefrog.Framework.Imaging.Rectangle

显示文件 Open project: jaquadro/Treefrog Class Usage Examples

Public Properties

Property Type Description
Empty Rectangle

Public Methods

Method Description
Contains ( Point point ) : bool
Equals ( Rectangle other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsAreaEmpty ( Rectangle rect ) : bool
IsAreaNegative ( Rectangle rect ) : bool
IsAreaNegativeOrEmpty ( Rectangle rect ) : bool
Rectangle ( Point location, Size size ) : System
Rectangle ( Point location, int width, int height ) : System
Rectangle ( int x, int y, int width, int height ) : System
ToString ( ) : string
operator ( ) : Rectangle
operator ( ) : bool

Method Details

Contains() public method

public Contains ( Point point ) : bool
point Point
return bool

Equals() public method

public Equals ( Rectangle other ) : bool
other Rectangle
return bool

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsAreaEmpty() public static method

public static IsAreaEmpty ( Rectangle rect ) : bool
rect Rectangle
return bool

IsAreaNegative() public static method

public static IsAreaNegative ( Rectangle rect ) : bool
rect Rectangle
return bool

IsAreaNegativeOrEmpty() public static method

public static IsAreaNegativeOrEmpty ( Rectangle rect ) : bool
rect Rectangle
return bool

Rectangle() public method

public Rectangle ( Point location, Size size ) : System
location Point
size Size
return System

Rectangle() public method

public Rectangle ( Point location, int width, int height ) : System
location Point
width int
height int
return System

Rectangle() public method

public Rectangle ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
return System

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : Rectangle
return Rectangle

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Empty public_oe static_oe property

public static Rectangle,Treefrog.Framework.Imaging Empty
return Rectangle