Class PresentationSpaceMixingRulesTriplet

java.lang.Object
org.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.triplets.AbstractTriplet
org.apache.fop.afp.modca.triplets.PresentationSpaceMixingRulesTriplet
All Implemented Interfaces:
Triplet, Streamable, StructuredData

public class PresentationSpaceMixingRulesTriplet extends AbstractTriplet
This triplet is used to specify the resulting appearance when data in a new presentation space is merged with data in an existing presentation space.
  • Field Details

    • RULE_BACK_ON_BACK

      public static final byte RULE_BACK_ON_BACK
      background on background mixing rule
      See Also:
    • RULE_BACK_ON_FORE

      public static final byte RULE_BACK_ON_FORE
      background on foreground mixing rule
      See Also:
    • RULE_FORE_ON_BACK

      public static final byte RULE_FORE_ON_BACK
      foreground on background mixing rule
      See Also:
    • RULE_FORE_ON_FORE

      public static final byte RULE_FORE_ON_FORE
      foreground on foreground mixing rule
      See Also:
    • OVERPAINT

      public static final byte OVERPAINT
      overpaint
      See Also:
    • UNDERPAINT

      public static final byte UNDERPAINT
      underpaint
      See Also:
    • BLEND

      public static final byte BLEND
      blend
      See Also:
    • DEFAULT

      public static final byte DEFAULT
      MO:DCA default mixing
      See Also:
  • Constructor Details

    • PresentationSpaceMixingRulesTriplet

      public PresentationSpaceMixingRulesTriplet(byte[] rules)
      Main constructor
      Parameters:
      rules - the mixing rules
  • Method Details

    • getDataLength

      public int getDataLength()
      Returns the data length of this structured field
      Returns:
      the data length of this structured field
    • writeToStream

      public void writeToStream(OutputStream os) throws IOException
      DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
      Parameters:
      os - the outputsteam stream
      Throws:
      IOException - an I/O exception of some sort has occurred.