Class 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 Detail

      • RULE_BACK_ON_BACK

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

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

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

        public static final byte RULE_FORE_ON_FORE
        foreground on foreground mixing rule
        See Also:
        Constant Field Values
    • Constructor Detail

      • PresentationSpaceMixingRulesTriplet

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

      • getDataLength

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

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