| 
    PdfSharp-WPF
    1.31.7289
    
   | 
 
Represents a PDF rectangle value, that is internally an array with 4 real values. More...
  
Public Member Functions | |
| PdfRectangle () | |
| Initializes a new instance of the PdfRectangle class.  More... | |
| PdfRectangle (XPoint pt1, XPoint pt2) | |
| Initializes a new instance of the PdfRectangle class with two points specifying two diagonally opposite corners.  More... | |
| PdfRectangle (XPoint pt, XSize size) | |
| Initializes a new instance of the PdfRectangle class with the specified location and size.  More... | |
| PdfRectangle (XRect rect) | |
| Initializes a new instance of the PdfRectangle class with the specified XRect.  More... | |
| new PdfRectangle | Clone () | 
| Clones this instance.  More... | |
| override bool | Equals (object obj) | 
| Tests whether the specified object is a PdfRectangle and has equal coordinates.  More... | |
| override int | GetHashCode () | 
| Serves as a hash function for a particular type.  More... | |
| bool | Contains (XPoint pt) | 
| Determines if the specified point is contained within this PdfRectangle.  More... | |
| bool | Contains (double x, double y) | 
| Determines if the specified point is contained within this PdfRectangle.  More... | |
| bool | Contains (XRect rect) | 
| Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle.  More... | |
| bool | Contains (PdfRectangle rect) | 
| Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle.  More... | |
| XRect | ToXRect () | 
| Returns the rectangle as an XRect object.  More... | |
| override string | ToString () | 
| Returns the rectangle as a string in the form «[x1 y1 x2 y2]».  More... | |
  Public Member Functions inherited from PdfSharp.Pdf.PdfItem | |
| PdfItem | Clone () | 
| Creates a copy of this object.  More... | |
Static Public Member Functions | |
| static bool | operator== (PdfRectangle left, PdfRectangle right) | 
| Tests whether two structures have equal coordinates.  More... | |
| static bool | operator!= (PdfRectangle left, PdfRectangle right) | 
| Tests whether two structures differ in one or more coordinates.  More... | |
Static Public Attributes | |
| static readonly PdfRectangle | Empty = new PdfRectangle() | 
| Represents an empty PdfRectangle.  More... | |
Protected Member Functions | |
| override object | Copy () | 
| Implements cloning this instance.  More... | |
Properties | |
| bool | IsEmpty [get] | 
| Tests whether all coordinate are zero.  More... | |
| double | X1 [get] | 
| Gets or sets the x-coordinate of the first corner of this PdfRectangle.  More... | |
| double | Y1 [get] | 
| Gets or sets the y-coordinate of the first corner of this PdfRectangle.  More... | |
| double | X2 [get] | 
| Gets or sets the x-coordinate of the second corner of this PdfRectangle.  More... | |
| double | Y2 [get] | 
| Gets or sets the y-coordinate of the second corner of this PdfRectangle.  More... | |
| double | Width [get] | 
| Gets X2 - X1.  More... | |
| double | Height [get] | 
| Gets Y2 - Y1.  More... | |
| XPoint | Location [get] | 
| Gets or sets the coordinates of the first point of this PdfRectangle.  More... | |
| XSize | Size [get] | 
| Gets or sets the size of this PdfRectangle.  More... | |
Represents a PDF rectangle value, that is internally an array with 4 real values.
| PdfSharp.Pdf.PdfRectangle.PdfRectangle | ( | ) | 
Initializes a new instance of the PdfRectangle class.
Initializes a new instance of the PdfRectangle class with two points specifying two diagonally opposite corners.
Initializes a new instance of the PdfRectangle class with the specified location and size.
| PdfSharp.Pdf.PdfRectangle.PdfRectangle | ( | XRect | rect | ) | 
Initializes a new instance of the PdfRectangle class with the specified XRect.
| new PdfRectangle PdfSharp.Pdf.PdfRectangle.Clone | ( | ) | 
Clones this instance.
| bool PdfSharp.Pdf.PdfRectangle.Contains | ( | double | x, | 
| double | y | ||
| ) | 
Determines if the specified point is contained within this PdfRectangle.
| bool PdfSharp.Pdf.PdfRectangle.Contains | ( | PdfRectangle | rect | ) | 
Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle.
| bool PdfSharp.Pdf.PdfRectangle.Contains | ( | XPoint | pt | ) | 
Determines if the specified point is contained within this PdfRectangle.
| bool PdfSharp.Pdf.PdfRectangle.Contains | ( | XRect | rect | ) | 
Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle.
      
  | 
  protectedvirtual | 
Implements cloning this instance.
Reimplemented from PdfSharp.Pdf.PdfItem.
| override bool PdfSharp.Pdf.PdfRectangle.Equals | ( | object | obj | ) | 
Tests whether the specified object is a PdfRectangle and has equal coordinates.
| override int PdfSharp.Pdf.PdfRectangle.GetHashCode | ( | ) | 
Serves as a hash function for a particular type.
      
  | 
  static | 
Tests whether two structures differ in one or more coordinates.
      
  | 
  static | 
Tests whether two structures have equal coordinates.
| override string PdfSharp.Pdf.PdfRectangle.ToString | ( | ) | 
Returns the rectangle as a string in the form «[x1 y1 x2 y2]».
| XRect PdfSharp.Pdf.PdfRectangle.ToXRect | ( | ) | 
Returns the rectangle as an XRect object.
      
  | 
  static | 
Represents an empty PdfRectangle.
      
  | 
  get | 
Gets Y2 - Y1.
      
  | 
  get | 
Tests whether all coordinate are zero.
      
  | 
  get | 
Gets or sets the coordinates of the first point of this PdfRectangle.
      
  | 
  get | 
Gets or sets the size of this PdfRectangle.
      
  | 
  get | 
Gets X2 - X1.
      
  | 
  get | 
Gets or sets the x-coordinate of the first corner of this PdfRectangle.
      
  | 
  get | 
Gets or sets the x-coordinate of the second corner of this PdfRectangle.
      
  | 
  get | 
Gets or sets the y-coordinate of the first corner of this PdfRectangle.
      
  | 
  get | 
Gets or sets the y-coordinate of the second corner of this PdfRectangle.