Class: QuadPoint

PDFNet. QuadPoint


new 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:
Name Type Argument Description
p1x number <optional>
p1y number <optional>
p2x number <optional>
p2y number <optional>
p3x number <optional>
p3y number <optional>
p4x number <optional>
p4y number <optional>
Properties:
Name Type Description
p1x number
p1y number
p2x number
p2y number
p3x number
p3y number
p4x number
p4y number