Class PDFNet.QuadPoint
PDFNet.QuadPoint
Constructor Attributes | Constructor Name and Description |
---|---|
PDFNet.QuadPoint(p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y)
QuadPoint
A QuadpPoint struct contains 8 values representing the (x,y) coordinates of four points in a rectangle.
|
Class Detail
PDFNet.QuadPoint(p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y)
QuadPoint
A QuadpPoint struct contains 8 values representing the (x,y) coordinates of four points in a rectangle..
--------------------
Since QuadPoint is a struct, it can be created manually by calling "new PDFNet.QuadPoint(p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y)"
eg. var myfoo = new PDFNet.QuadPoint(1, 2, 3, 4, 5, 6, 7, 8)
Default values for a Point struct are:
p1x = 0
p1y = 0
p2x = 0
p2y = 0
p3x = 0
p3y = 0
p4x = 0
p4y = 0
- Parameters:
- p1x
- p1y
- p2x
- p2y
- p3x
- p3y
- p4x
- p4y