MuPDFCore 1.8.0
Multiplatform .NET bindings for MuPDF
Loading...
Searching...
No Matches
MuPDFCore.Quad Struct Reference

Represents a quadrilater (not necessarily a rectangle). More...

Public Member Functions

 Quad (PointF lowerLeft, PointF upperLeft, PointF upperRight, PointF lowerRight)
 Creates a new Quad from the specified points. More...
 
bool Contains (PointF point)
 Checks whether this Quad contains a PointF. More...
 

Public Attributes

PointF LowerLeft
 The lower left point of the quadrilater. More...
 
PointF UpperLeft
 The upper left point of the quadrilater. More...
 
PointF UpperRight
 The upper right point of the quadrilater. More...
 
PointF LowerRight
 The lower right point of the quadrilater. More...
 

Detailed Description

Represents a quadrilater (not necessarily a rectangle).

Definition at line 593 of file Rectangles.cs.

Constructor & Destructor Documentation

◆ Quad()

MuPDFCore.Quad.Quad ( PointF  lowerLeft,
PointF  upperLeft,
PointF  upperRight,
PointF  lowerRight 
)

Creates a new Quad from the specified points.

Parameters
lowerLeftThe lower left point of the quadrilater.
upperLeftThe upper left point of the quadrilater.
upperRightThe upper right point of the quadrilater.
lowerRightThe lower right point of the quadrilater.

Definition at line 622 of file Rectangles.cs.

Member Function Documentation

◆ Contains()

bool MuPDFCore.Quad.Contains ( PointF  point)

Checks whether this Quad contains a PointF.

Parameters
pointThe PointF to check.
Returns
A boolean value indicating whether this Quad contains the point .

Definition at line 635 of file Rectangles.cs.

Member Data Documentation

◆ LowerLeft

PointF MuPDFCore.Quad.LowerLeft

The lower left point of the quadrilater.

Definition at line 598 of file Rectangles.cs.

◆ LowerRight

PointF MuPDFCore.Quad.LowerRight

The lower right point of the quadrilater.

Definition at line 613 of file Rectangles.cs.

◆ UpperLeft

PointF MuPDFCore.Quad.UpperLeft

The upper left point of the quadrilater.

Definition at line 603 of file Rectangles.cs.

◆ UpperRight

PointF MuPDFCore.Quad.UpperRight

The upper right point of the quadrilater.

Definition at line 608 of file Rectangles.cs.


The documentation for this struct was generated from the following file: