PdfQuadrilateral Structure

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > PdfQuadrilateral Structure
A quadrilateral represented by four double precision floating-point points.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[SerializableAttribute]
public struct PdfQuadrilateral : IEquatable<PdfQuadrilateral>
VB
<SerializableAttribute>
Public Structure PdfQuadrilateral
	Implements IEquatable(Of PdfQuadrilateral)

The PdfQuadrilateral type exposes the following members.

Constructors

  NameDescription
Public methodPdfQuadrilateral
Initializes a new instance of the PdfQuadrilateral struct.

Properties

  NameDescription
Public propertyFirstCorner
Gets or sets the coordinates of the first corner of this PdfQuadrilateral structure.
Public propertyFourthCorner
Gets or sets the coordinates of the fourth corner of this PdfQuadrilateral structure.
Public propertySecondCorner
Gets or sets the coordinates of the second corner of this PdfQuadrilateral structure.
Public propertyThirdCorner
Gets or sets the coordinates of the third corner of this PdfQuadrilateral structure.

Methods

  NameDescription
Public methodEquals(Object)
Tests whether obj is a PdfQuadrilateral with the corners of this PdfQuadrilateral.
(Overrides ValueType.Equals(Object).)
Public methodEquals(PdfQuadrilateral)
Tests whether other has the same corners as in this PdfQuadrilateral.
Public methodGetHashCode
Gets the hash code for this PdfQuadrilateral structure.
(Overrides ValueType.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodIsValid
Checks whether this structure represents a valid quadrilateral.
Public methodToString()
Converts this PdfQuadrilateral to a human-readable string.
(Overrides ValueType.ToString().)
Public methodToString(IFormatProvider)
Converts this PdfQuadrilateral to a human-readable string.

Operators

  NameDescription
Public operatorStatic memberEquality
Tests whether two PdfQuadrilateral structures equal.
Public operatorStatic memberImplicit(PdfBox to PdfQuadrilateral)
Performs an implicit conversion from PdfBox to PdfQuadrilateral.
Public operatorStatic memberImplicit(PdfRectangle to PdfQuadrilateral)
Performs an implicit conversion from PdfRectangle to PdfQuadrilateral.
Public operatorStatic memberInequality
Tests whether two PdfQuadrilateral structures differ.

See Also