/** * Constructor. */ public PDAnnotationLine() { getCOSObject().setName(COSName.SUBTYPE, SUB_TYPE); // Dictionary value L is mandatory, fill in with arbitary value setLine(new float[] { 0, 0, 0, 0 }); }
/** * Constructor. */ public PDAnnotationLine() { getCOSObject().setName(COSName.SUBTYPE, SUB_TYPE); // Dictionary value L is mandatory, fill in with arbitary value setLine(new float[] { 0, 0, 0, 0 }); }
/** * Constructor. */ public PDAnnotationLine() { getCOSObject().setItem(COSName.SUBTYPE, COSName.getPDFName(SUB_TYPE)); // Dictionary value L is mandatory, fill in with arbitary value setLine(new float[] { 0, 0, 0, 0 }); }
linepos[2] = pw- 2 * INCH; // x2 = lhs of square linepos[3] = ph- 4 * INCH; // y2 halfway down square aLine.setLine(linepos);
linepos[2] = pw- 2 * INCH; // x2 = lhs of square linepos[3] = ph- 4 * INCH; // y2 halfway down square aLine.setLine(linepos);