C# Class SimShift.Utils.Rect

Mostrar archivo Open project: nlhans/SimShift

Public Properties

Property Type Description
Bottom int
Left int
Right int
Top int

Public Methods

Method Description
FromRectangle ( Rectangle rect ) : Rect
FromXYWH ( int x, int y, int width, int height ) : Rect
Rect ( int left, int top, int right, int bottom ) : System

Method Details

FromRectangle() public static method

public static FromRectangle ( Rectangle rect ) : Rect
rect System.Drawing.Rectangle
return Rect

FromXYWH() public static method

public static FromXYWH ( int x, int y, int width, int height ) : Rect
x int
y int
width int
height int
return Rect

Rect() public method

public Rect ( int left, int top, int right, int bottom ) : System
left int
top int
right int
bottom int
return System

Property Details

Bottom public_oe property

public int Bottom
return int

Left public_oe property

public int Left
return int

Right public_oe property

public int Right
return int

Top public_oe property

public int Top
return int