C# Class Pinta.ImageManipulation.Rectangle

显示文件 Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Public Properties

Property Type Description
Empty Rectangle
Height int
Width int
X int
Y int

Public Methods

Method Description
Contains ( int x, int y ) : bool
FromLTRB ( int left, int top, int right, int bottom ) : Rectangle
Intersect ( Rectangle a, Rectangle b ) : Rectangle
Intersect ( Rectangle r ) : void
Rectangle ( Point location, Size size ) : System
Rectangle ( int x, int y, int width, int height ) : System
ToString ( ) : string
operator ( ) : bool

Method Details

Contains() public method

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

FromLTRB() public static method

public static FromLTRB ( int left, int top, int right, int bottom ) : Rectangle
left int
top int
right int
bottom int
return Rectangle

Intersect() public static method

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

Intersect() public method

public Intersect ( Rectangle r ) : void
r Rectangle
return void

Rectangle() public method

public Rectangle ( Point location, Size size ) : System
location Point
size Size
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 ( ) : bool
return bool

Property Details

Empty public_oe static_oe property

public static Rectangle,Pinta.ImageManipulation Empty
return Rectangle

Height public_oe property

public int Height
return int

Width public_oe property

public int Width
return int

X public_oe property

public int X
return int

Y public_oe property

public int Y
return int