Tag Definition: blendMode
Generated by rlextra version 4.3.0a1
Attributes
Name |
Required? |
Default_Value |
Values |
mode |
required |
None |
['Normal', 'MultiPly', 'Screen', 'Overlay', 'Darken', 'Lighten', 'ColorDodge', 'ColorBurn', 'HardLight', 'SoftLight', 'Difference', 'Exclusion', 'Hue', 'Saturation', 'Color', 'Luminosity'] |
Can contain |
Purpose
This is to select a blend mode between overlapping graphics. See the relevant rml sample here.
Example usage
<document filename="test_045_overprint.pdf" colorSpace="CMYK">
<docinit>
<color id="Cyan" CMYK="[1,0,0,0]" />
<color id="Magenta" CMYK="[0,1,0,0]" />
</docinit>
<template>
<pageTemplate id="main">
<pageGraphics>
<blendMode mode="Screen"/>
<fill color="Cyan"/>
<rect x="75" y="600" width="50" height="50" fill="1"/>
<fill color="Magenta"/>
<rect x="100" y="625" width="50" height="50" fill="1"/>
</pageGraphics>
<frame id="main" x1="35" y1="45" width="525" height="490"/>
</pageTemplate>
</template>
...
</document>
Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.
Example of nesting path from the parent tags to the current tag
<document> ➔ <template> ➔ <pageTemplate> ➔ <pageGraphics> ➔ <blendMode>