Class MultiWatermark

    • Field Detail

      • m_Watermarks

        protected Watermark[] m_Watermarks
        the watermarks to apply.
    • Constructor Detail

      • MultiWatermark

        public MultiWatermark()
    • Method Detail

      • setWatermarks

        public void setWatermarks​(Watermark[] value)
        Sets the watermarks to apply.
        Parameters:
        value - the watermarks
      • getWatermarks

        public Watermark[] getWatermarks()
        Returns the watermarks to apply.
        Returns:
        the watermarks
      • watermarksTipText

        public String watermarksTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • canApplyWatermark

        protected boolean canApplyWatermark​(Graphics g,
                                            Dimension dimension)
        Returns whether the watermark can be applied.
        Overrides:
        canApplyWatermark in class AbstractWatermark
        Parameters:
        g - the graphics context
        dimension - the dimension of the drawing area
        Returns:
        true if it can be applied
      • doApplyWatermark

        protected void doApplyWatermark​(Graphics g,
                                        Dimension dimension)
        Applies the watermark in the specified graphics context.
        Specified by:
        doApplyWatermark in class AbstractWatermark
        Parameters:
        g - the graphics context
        dimension - the dimension of the drawing area