Click or drag to resize

SingleRect Structure

Describes the width, height, and location of a floating rectangle in the control's coordinate space.

Namespace:  Patagames.Pdf.Net.Controls
Assembly:  Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.84.2704
Syntax
public struct SingleRect

The SingleRect type exposes the following members.

Constructors
  NameDescription
Public methodSingleRect(SinglePoint, SingleSize)
Initializes a new instance of the SingleRect class with the specified location and size.
Public methodSingleRect(Double, Double, Double, Double)
Initializes a new instance of an SingleRect with the specified X and Y coordinates and the pecified Width and Height.
Top
Properties
  NameDescription
Public propertyBottom
Gets the y-coordinate of the bottom edge of this SingleRect structure.
Public propertyStatic memberEmpty
Gets the empty rectangle, a special value that represents a rectangle with no position or area.
Public propertyHeight
Gets or sets the height of the rectangle.
Public propertyIsEmpty
Gets a value indicating whether the rectangle is empty.
Public propertyLeft
Gets the x-coordinate of the left edge of this SingleRect structure.
Public propertyLocation
Gets or sets the coordinates of the upper-left corner of this Rectangle structure.
Public propertyRight
Gets the x-coordinate of the right edge of this SingleRect structure.
Public propertySize
Gets or sets the size of this Rectangle.
Public propertyTop
Gets the y-coordinate of the top edge of this SingleRect structure.
Public propertyWidth
Gets or sets the width of the rectangle.
Public propertyX
Gets or sets the x-coordinate of the top-left corner of the rectangle.
Public propertyY
Gets or sets the y-coordinate of the top-left corner of the rectangle.
Top
Methods
  NameDescription
Public methodContains
Determines if the specified point is contained within the rectangular region defined by this SingleRect.
Public methodEquals(Object)
Determines whether the specified rectangle is equal to this rectangle.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(SingleRect)
Determines whether the specified rectangle is equal to this rectangle.
Public methodStatic memberEquals(SingleRect, SingleRect)
Determines whether the specified rectangles are equal.
Public methodGetHashCode
Creates a hash code from this rectangle's X, Y, Width, and Height values.
(Overrides ValueTypeGetHashCode.)
Public methodIntersect
Finds the intersection of the current rectangle and the specified rectangle, and stores the result as the current rectangle.
Public methodIntersectsWith
Determines if this rectangle intersects with rect.
Public methodToInt32Rect
Convert this instance of SingleRect to Int32Rect.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two rectangles for exact equality.
Public operatorStatic memberInequality
Compares two rectangles for inequality.
Top
See Also