ICSV - Image Color Similarity Visualization
Vienna Technical University - Course 'Visualization 2'. Author: Stefan Spelitz (0925601)
XnaGeometry.Rectangle Struct Reference

XnaGeometry from http://www.technologicalutopia.com/sourcecode/xnageometry/ More...

Inheritance diagram for XnaGeometry.Rectangle:

Public Member Functions

 Rectangle (int x, int y, int width, int height)
 
bool Contains (int x, int y)
 
bool Contains (Point value)
 
bool Contains (Rectangle value)
 
void Offset (Point offset)
 
void Offset (int offsetX, int offsetY)
 
void Inflate (int horizontalValue, int verticalValue)
 
bool Equals (Rectangle other)
 
override bool Equals (object obj)
 
override string ToString ()
 
override int GetHashCode ()
 
bool Intersects (Rectangle value)
 
void Intersects (ref Rectangle value, out bool result)
 

Static Public Member Functions

static bool operator== (Rectangle a, Rectangle b)
 
static bool operator!= (Rectangle a, Rectangle b)
 
static Rectangle Intersect (Rectangle value1, Rectangle value2)
 
static void Intersect (ref Rectangle value1, ref Rectangle value2, out Rectangle result)
 
static Rectangle Union (Rectangle value1, Rectangle value2)
 
static void Union (ref Rectangle value1, ref Rectangle value2, out Rectangle result)
 

Public Attributes

int X
 
int Y
 
int Width
 
int Height
 

Properties

static Rectangle Empty [get]
 
int Left [get]
 
int Right [get]
 
int Top [get]
 
int Bottom [get]
 
Point Location [get, set]
 
Point Center [get]
 
bool IsEmpty [get]
 

Detailed Description

Constructor & Destructor Documentation

XnaGeometry.Rectangle.Rectangle ( int  x,
int  y,
int  width,
int  height 
)

Member Function Documentation

bool XnaGeometry.Rectangle.Contains ( int  x,
int  y 
)
bool XnaGeometry.Rectangle.Contains ( Point  value)
bool XnaGeometry.Rectangle.Contains ( Rectangle  value)
bool XnaGeometry.Rectangle.Equals ( Rectangle  other)
override bool XnaGeometry.Rectangle.Equals ( object  obj)
override int XnaGeometry.Rectangle.GetHashCode ( )
void XnaGeometry.Rectangle.Inflate ( int  horizontalValue,
int  verticalValue 
)
static Rectangle XnaGeometry.Rectangle.Intersect ( Rectangle  value1,
Rectangle  value2 
)
static
static void XnaGeometry.Rectangle.Intersect ( ref Rectangle  value1,
ref Rectangle  value2,
out Rectangle  result 
)
static
bool XnaGeometry.Rectangle.Intersects ( Rectangle  value)
void XnaGeometry.Rectangle.Intersects ( ref Rectangle  value,
out bool  result 
)
void XnaGeometry.Rectangle.Offset ( Point  offset)
void XnaGeometry.Rectangle.Offset ( int  offsetX,
int  offsetY 
)
static bool XnaGeometry.Rectangle.operator!= ( Rectangle  a,
Rectangle  b 
)
static
static bool XnaGeometry.Rectangle.operator== ( Rectangle  a,
Rectangle  b 
)
static
override string XnaGeometry.Rectangle.ToString ( )
static Rectangle XnaGeometry.Rectangle.Union ( Rectangle  value1,
Rectangle  value2 
)
static
static void XnaGeometry.Rectangle.Union ( ref Rectangle  value1,
ref Rectangle  value2,
out Rectangle  result 
)
static

Member Data Documentation

int XnaGeometry.Rectangle.Height
int XnaGeometry.Rectangle.Width
int XnaGeometry.Rectangle.X
int XnaGeometry.Rectangle.Y

Property Documentation

int XnaGeometry.Rectangle.Bottom
get
Point XnaGeometry.Rectangle.Center
get
Rectangle XnaGeometry.Rectangle.Empty
staticget
bool XnaGeometry.Rectangle.IsEmpty
get
int XnaGeometry.Rectangle.Left
get
Point XnaGeometry.Rectangle.Location
getset
int XnaGeometry.Rectangle.Right
get
int XnaGeometry.Rectangle.Top
get