Operator implicit operator
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
implicit operator PdfQuadrilateral(PdfRectangle)
Performs an implicit conversion from PdfRectangle to PdfQuadrilateral.
public static implicit operator PdfQuadrilateral(PdfRectangle rect)
Parameters
rect
PdfRectangleThe PdfRectangle structure to convert.
Returns
- PdfQuadrilateral
The PdfQuadrilateral structure that is converted from the specified PdfRectangle structure.
Quadrilateral's first corner corresponds to rectangle's left-top corner. Remaining corners are added clockwise.
implicit operator PdfQuadrilateral(PdfBox)
Performs an implicit conversion from PdfBox to PdfQuadrilateral.
public static implicit operator PdfQuadrilateral(PdfBox rect)
Parameters
Returns
- PdfQuadrilateral
The PdfQuadrilateral structure that is converted from the specified PdfBox structure.
Quadrilateral's first corner corresponds to rectangle's left-top corner. Remaining corners are added clockwise.