C# Class idTech4.idRectangle

Show file Open project: iainmckay/idtech4.net Class Usage Examples

Public Properties

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

Public Methods

Method Description
Contains ( float x, float y ) : bool
Equals ( object obj ) : bool
Offset ( float x, float y ) : void
idRectangle ( float x, float y, float width, float height ) : System
operator ( ) : bool

Method Details

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

Offset() public method

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

idRectangle() public method

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

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Empty public static property

public static idRectangle,idTech4 Empty
return idRectangle

Height public property

public float Height
return float

Width public property

public float Width
return float

X public property

public float X
return float

Y public property

public float Y
return float