Rect Class

Definition

Line 373 of System.Windows/Graphics.cm

Constructors & Destructor

public nothrow Rect()
public nothrow Rect(const Point& location_, const Size& size_)
public nothrow Rect(const WinRect& winRect)

Member Functions

public inline nothrow int Bottom() const
public inline nothrow bool Contains(const Point& p)
public inline nothrow void Inflate(int dx, int dy)
public nothrow bool IntersectsWith(const Rect& that) const
public inline nothrow bool IsEmpty() const
public inline nothrow int Left() const
public inline nothrow void Offset(int dx, int dy)
public inline nothrow int Right() const
public nothrow String<char> ToString() const
public nothrow WinRect ToWinRect() const
public inline nothrow int Top() const
public static nothrow Rect Union(const Rect& a, const Rect& b)

Member Variables

public Point location
public Size size

Constructor& Destructor Details

Rect Constructor

public nothrow Rect()

Definition
Line 375 of System.Windows/Graphics.cm


Rect Constructor

public nothrow Rect(const Point& location_, const Size& size_)

Definition
Line 378 of System.Windows/Graphics.cm


Rect Constructor

public nothrow Rect(const WinRect& winRect)

Definition
Line 381 of System.Windows/Graphics.cm


Member Function Details

Bottom Member Function

public inline nothrow int Bottom()

Definition
Line 404 of System.Windows/Graphics.cm


Contains Member Function

public inline nothrow bool Contains(const Point& p)

Definition
Line 408 of System.Windows/Graphics.cm


Inflate Member Function

public inline nothrow void Inflate(int dx, int dy)

Definition
Line 412 of System.Windows/Graphics.cm


IntersectsWith Member Function

public nothrow bool IntersectsWith(const Rect& that)

Definition
Line 423 of System.Windows/Graphics.cm


IsEmpty Member Function

public inline nothrow bool IsEmpty()

Definition
Line 388 of System.Windows/Graphics.cm


Left Member Function

public inline nothrow int Left()

Definition
Line 392 of System.Windows/Graphics.cm


Offset Member Function

public inline nothrow void Offset(int dx, int dy)

Definition
Line 419 of System.Windows/Graphics.cm


Right Member Function

public inline nothrow int Right()

Definition
Line 396 of System.Windows/Graphics.cm


ToString Member Function

public nothrow String<char> ToString()

Definition
Line 435 of System.Windows/Graphics.cm


ToWinRect Member Function

public nothrow WinRect ToWinRect()

Definition
Line 384 of System.Windows/Graphics.cm


Top Member Function

public inline nothrow int Top()

Definition
Line 400 of System.Windows/Graphics.cm


Union Static Member Function

public static nothrow Rect Union(const Rect& a, const Rect& b)

Definition
Line 427 of System.Windows/Graphics.cm