public class ASQuad extends ASObject
| Constructor and Description |
|---|
ASQuad(ASCoordinate p1,
ASCoordinate p2,
ASCoordinate p3,
ASCoordinate p4) |
ASQuad(ASQuad quad)
Copy constructor
|
ASQuad(ASRectangle rect)
Construct a quad from a rectangle
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMaxX() |
double |
getMaxY() |
double |
getMinX() |
double |
getMinY() |
ASCoordinate |
p1() |
ASCoordinate |
p2() |
ASCoordinate |
p3() |
ASCoordinate |
p4() |
String |
toString() |
ASQuad |
transform(ASMatrix ctm) |
void |
write(OutputByteStream outputByteStream)
Writes the ASHexString in to the given OutputStream in the format expected by the PDF Spec.
|
public ASQuad(ASCoordinate p1, ASCoordinate p2, ASCoordinate p3, ASCoordinate p4)
p1 - lower-left corner relative to the object enclosed by the quadp2 - lower-right corner relative to the object enclosed by the quadp3 - upper-right corner relative to the object enclosed by the quadp4 - upper-left corner relative to the object enclosed by the quadpublic ASQuad(ASRectangle rect)
rect - public ASQuad(ASQuad quad)
quad - public ASCoordinate p1()
public ASCoordinate p2()
public ASCoordinate p3()
public ASCoordinate p4()
public void write(OutputByteStream outputByteStream) throws PDFIOException
write in class ASObjectoutputByteStream - OutputByteStream to write to.PDFIOExceptionASStringpublic double getMinX()
public double getMaxX()
public double getMinY()
public double getMaxY()
Copyright © 2010 - 2020 Adobe. All Rights Reserved