Поделиться через


Rect Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Initializes a Rect structure.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone Rect(Point, Point) Initializes a Rect structure that is exactly large enough to contain the two specified points.
Public methodSupported by Silverlight for Windows Phone Rect(Point, Size) Initializes a Rect structure based on an origin and size.
Public methodSupported by Silverlight for Windows Phone Rect(Double, Double, Double, Double) Initializes a Rect structure that has the specified x-coordinate, y-coordinate, width, and height.

Top