Persistate API documentation
PRectangle Structure
NamespacesPersistate.UIPRectangle

[This is preliminary documentation and is subject to change.]

Represents a rectangle, specifying its location and size.
Declaration Syntax
C#
public struct PRectangle
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
PRectangle(Int32, Int32, Int32, Int32)
Creates a new PRectangle with all properties specified

PRectangle(PPoint, PSize)
Creates a new PRectangle from a position and size.

Bottom
Gets the Y co-ordinate equal to Y + Height for this PRectangle

Contains(PPoint)
Determines whether this PRectangle contains a paerticular PPoint.

Empty
Represents a PRectangle with all properties set to 0.

Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from ValueType.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Height
Gets or sets the height of this PRectangle.

ImplicitWideningImplicitImplicitImplicit(PRectangle to Rectangle)
Implicitly converts a Persistate.UI.PRectangle to a System.Drawing.Rectangle.

ImplicitWideningImplicitImplicitImplicit(Rectangle to PRectangle)
Implicitly converts a System.Drawing.Rectangle to a Persistate.UI.PRectangle.

IsEmpty
Determines whether this PRectangle has all properties equal to 0.

Left
Gets the X co-ordinate of the left hand edge of this PRectangle

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Right
Gets the X co-ordinate equal to X + Width for this PRectangle

Top
Gets the Y co-ordinate of the top hand edge of this PRectangle

ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Width
Gets or sets the width of this PRectangle.

X
Gets or sets the X co-ordinate of the upper left corner of this PRectangle.

Y
Gets or sets the Y co-ordinate of the upper left corner of this PRectangle.

Remarks
This version is for the .Net platform. This will be implemented separately (along with the entire Persistate.UI namespace) for different platforms as necessary.

Assembly: Persistate.UI (Module: Persistate.UI) Version: 0.6.1.20 (0.6.1.20)