Click or drag to resize
XRect Structure
Stores a set of four floating-point numbers that represent the location and size of a rectangle.

Namespace: XsPDF.Drawing
Assembly: XsPDF (in XsPDF.dll) Version: 6.11.0.1333 (6.11.0.1333)
Syntax
[SerializableAttribute]
public struct XRect : IFormattable

The XRect type exposes the following members.

Constructors
  Name Description
Public method XRect(XSize)
Initializes a new instance of the XRect class.
Public method XRect(XPoint, XPoint)
Initializes a new instance of the XRect class.
Public method XRect(XPoint, XSize)
Initializes a new instance of the XRect class.
Public method XRect(XPoint, XVector)
Initializes a new instance of the XRect class.
Public method XRect(Double, Double, Double, Double)
Initializes a new instance of the XRect class.
Top
Methods
  Name Description
Public method Contains(XPoint)
Indicates whether the rectangle contains the specified point.
Public method Contains(XRect)
Indicates whether the rectangle contains the specified rectangle.
Public method Contains(Double, Double)
Indicates whether the rectangle contains the specified point.
Public method Equals(Object)
Determines whether this instance and the specified object are equal.
(Overrides ValueType Equals(Object).)
Public method Equals(XRect)
Determines whether this instance and the specified rect are equal.
Public methodStatic member Equals(XRect, XRect)
Determines whether the two rectangles are equal.
Public methodStatic member FromLTRB
Creates a rectangle from for straight lines.
Public method GetHashCode
Returns the hash code for this instance.
(Overrides ValueType GetHashCode .)
Public method GetType (Inherited from Object.)
Public method Inflate(XSize)
Expands the rectangle by using the specified Size, in all directions.
Public method Inflate(Double, Double)
Expands or shrinks the rectangle by using the specified width and height amounts, in all directions.
Public methodStatic member Inflate(XRect, XSize)
Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.
Public methodStatic member Inflate(XRect, Double, Double)
Creates a rectangle that results from expanding or shrinking the specified rectangle by the specified width and height amounts, in all directions.
Public method Intersect(XRect)
Sets current rectangle to the intersection of the current rectangle and the specified rectangle.
Public methodStatic member Intersect(XRect, XRect)
Returns the intersection of two rectangles.
Public method IntersectsWith
Indicates whether the specified rectangle intersects with the current rectangle.
Public method Offset(XVector)
Moves a rectangle by the specified amount.
Public method Offset(Double, Double)
Moves a rectangle by the specified amount.
Public methodStatic member Offset(XRect, XVector)
Returns a rectangle that is offset from the specified rectangle by using the specified vector.
Public methodStatic member Offset(XRect, Double, Double)
Returns a rectangle that is offset from the specified rectangle by using specified horizontal and vertical amounts.
Public methodStatic member Parse
Parses the rectangle from a string.
Public method Scale
Multiplies the size of the current rectangle by the specified x and y values.
Public method ToString
Converts this XRect to a human readable string.
(Overrides ValueType ToString .)
Public method ToString(IFormatProvider)
Converts this XRect to a human readable string.
Public method Transform(XMatrix)
Transforms the rectangle by applying the specified matrix.
Public methodStatic member Transform(XRect, XMatrix)
Returns the rectangle that results from applying the specified matrix to the specified rectangle.
Public method Union(XPoint)
Sets current rectangle to the union of the current rectangle and the specified point.
Public method Union(XRect)
Sets current rectangle to the union of the current rectangle and the specified rectangle.
Public methodStatic member Union(XRect, XPoint)
Returns the intersection of a rectangle and a point.
Public methodStatic member Union(XRect, XRect)
Returns the union of two rectangles.
Top
Operators
  Name Description
Public operatorStatic member Addition
Translates the rectangle by adding the specified point.
Public operatorStatic member Equality
Determines whether the two rectangles are equal.
Public operatorStatic member Inequality
Determines whether the two rectangles are not equal.
Public operatorStatic member Subtraction
Translates the rectangle by subtracting the specified point.
Top
Properties
  Name Description
Public property Bottom
Gets the y-axis value of the bottom side of the rectangle.
Public property BottomLeft
Gets the position of the bottom-left corner of the rectangle.
Public property BottomRight
Gets the position of the bottom-right corner of the rectangle.
Public property Center
Gets the center of the rectangle.
Public propertyStatic member Empty
Gets the empty rectangle.
Public property Height
Gets or sets the height of the rectangle.
Public property IsEmpty
Gets a value indicating whether this instance is empty.
Public property Left
Gets the x-axis value of the left side of the rectangle.
Public property Location
Gets or sets the location of the rectangle.
Public property Right
Gets the x-axis value of the right side of the rectangle.
Public property Size
Gets or sets the size of the rectangle.
Public property Top
Gets the y-axis value of the top side of the rectangle.
Public property TopLeft
Gets the position of the top-left corner of the rectangle.
Public property TopRight
Gets the position of the top-right corner of the rectangle.
Public property Width
Gets or sets the width of the rectangle.
Public property X
Gets or sets the X value of the rectangle.
Public property Y
Gets or sets the Y value of the rectangle.
Top
See Also

C# PDF online guide

IMPERIAL TRACTORS MACHINERY IMPERIAL TRACTORS MACHINERY GROUP LLC Imperial Tractors Machinery Group LLC IMPERIAL TRACTORS MACHINERY GROUP LLC IMPERIAL TRACTORS MACHINERY 920 Cerise Rd, Billings, MT 59101 IMPERIAL TRACTORS MACHINERY GROUP LLC 920 Cerise Rd, Billings, MT 59101 IMPERIAL TRACTORS MACHINERY GROUP LLC IMPERIAL TRACTORS MACHINERY IMPERIAL TRACTORS MACHINERY 920 Cerise Rd, Billings, MT 59101 IMPERIAL TRACTORS MACHINERY Imperial Tractors Machinery Group LLC 920 Cerise Rd, Billings, MT 59101 casino brain https://institute.com.ua/elektroshokery-yak-vybraty-naykrashchyy-variant-dlya-samooborony-u-2025-roci https://lifeinvest.com.ua/yak-pravylno-zaryadyty-elektroshoker-pokrokovyy-posibnyknosti https://i-medic.com.ua/yaki-elektroshokery-mozhna-kupuvaty-v-ukrayini-posibnyk-z-vyboru-ta-zakonnosti https://tehnoprice.in.ua/klyuchovi-kryteriyi-vyboru-elektroshokera-dlya-samozakhystu-posibnyk-ta-porady https://brightwallpapers.com.ua/yak-vidriznyty-oryhinalnyy-elektroshoker-vid-pidroblenoho-porady-ta-rekomendatsiyi how to check balance in hafilat card plinko casino game CK222 gk222 casino 555rr bet plinko game 3k777 cv666 app vs555 casino plinko