/** * Sets the flag whether to apply overprint for stroking. * @param op */ public void setOverPrintStroking(boolean op) { put(PdfName.OP, op ? PdfBoolean.PDFTRUE : PdfBoolean.PDFFALSE); }
/** * Sets the flag whether to apply overprint for non stroking painting operations. * @param op */ public void setOverPrintNonStroking(boolean op) { put(PdfName.op, op ? PdfBoolean.PDFTRUE : PdfBoolean.PDFFALSE); }
/** * The current blend mode to be used in the transparent imaging model. * @param bm */ public void setBlendMode(PdfName bm) { put(PdfName.BM, bm); }
/** * Set the rendering intent, possible values are: PdfName.ABSOLUTECOLORIMETRIC, * PdfName.RELATIVECOLORIMETRIC, PdfName.SATURATION, PdfName.PERCEPTUAL. * @param ri * @since 5.0.2 */ public void setRenderingIntent(PdfName ri) { put(PdfName.RI, ri); }
/** * Set the rendering intent, possible values are: PdfName.ABSOLUTECOLORIMETRIC, * PdfName.RELATIVECOLORIMETRIC, PdfName.SATURATION, PdfName.PERCEPTUAL. * @param ri * @since 5.0.2 */ public void setRenderingIntent(PdfName ri) { put(PdfName.RI, ri); }
/** * The alpha source flag specifying whether the current soft mask * and alpha constant are to be interpreted as shape values (true) * or opacity values (false). * @param ais */ public void setAlphaIsShape(boolean ais) { put(PdfName.AIS, ais ? PdfBoolean.PDFTRUE : PdfBoolean.PDFFALSE); }
/** * Determines the behavior of overlapping glyphs within a text object * in the transparent imaging model. * @param tk */ public void setTextKnockout(boolean tk) { put(PdfName.TK, tk ? PdfBoolean.PDFTRUE : PdfBoolean.PDFFALSE); }
/** * Sets the flag whether to apply overprint for stroking. * @param op */ public void setOverPrintStroking(boolean op) { put(PdfName.OP, op ? PdfBoolean.PDFTRUE : PdfBoolean.PDFFALSE); }
/** * Sets the flag whether to apply overprint for non stroking painting operations. * @param op */ public void setOverPrintNonStroking(boolean op) { put(PdfName.op, op ? PdfBoolean.PDFTRUE : PdfBoolean.PDFFALSE); }
/** * The alpha source flag specifying whether the current soft mask * and alpha constant are to be interpreted as shape values (true) * or opacity values (false). * @param ais */ public void setAlphaIsShape(boolean ais) { put(PdfName.AIS, ais ? PdfBoolean.PDFTRUE : PdfBoolean.PDFFALSE); }
/** * Determines the behavior of overlapping glyphs within a text object * in the transparent imaging model. * @param tk */ public void setTextKnockout(boolean tk) { put(PdfName.TK, tk ? PdfBoolean.PDFTRUE : PdfBoolean.PDFFALSE); }
/** * The current blend mode to be used in the transparent imaging model. * @param bm */ public void setBlendMode(PdfName bm) { put(PdfName.BM, bm); }
/** * Sets the current stroking alpha constant, specifying the constant shape or * constant opacity value to be used for stroking operations in the transparent * imaging model. * @param ca */ public void setStrokeOpacity(float ca) { put(PdfName.CA, new PdfNumber(ca)); }
/** * Sets the flag whether to toggle knockout behavior for overprinted objects. * @param opm - accepts 0 or 1 */ public void setOverPrintMode(int opm) { put(PdfName.OPM, new PdfNumber(opm==0 ? 0 : 1)); }
/** * Sets the current stroking alpha constant, specifying the constant shape or * constant opacity value to be used for nonstroking operations in the transparent * imaging model. * @param ca */ public void setFillOpacity(float ca) { put(PdfName.ca, new PdfNumber(ca)); }
/** * Sets the flag whether to toggle knockout behavior for overprinted objects. * @param opm - accepts 0 or 1 */ public void setOverPrintMode(int opm) { put(PdfName.OPM, new PdfNumber(opm==0 ? 0 : 1)); }
/** * Sets the current stroking alpha constant, specifying the constant shape or * constant opacity value to be used for stroking operations in the transparent * imaging model. * @param ca */ public void setStrokeOpacity(float ca) { put(PdfName.CA, new PdfNumber(ca)); }
/** * Sets the current stroking alpha constant, specifying the constant shape or * constant opacity value to be used for nonstroking operations in the transparent * imaging model. * @param ca */ public void setFillOpacity(float ca) { put(PdfName.ca, new PdfNumber(ca)); }