com.groupdocs.annotation.models.annotationmodels

Class WatermarkAnnotation

    • Constructor Detail

      • WatermarkAnnotation

        public WatermarkAnnotation()

        Initializes new instance of WatermarkAnnotation class.

    • Method Detail

      • getAngle

        public final Double getAngle()

        Gets or sets watermark rotation angle

        Specified by:
        getAngle in interface IAngle
        Returns:
      • getBox

        public final Rectangle getBox()

        Gets or sets annotation position

        Specified by:
        getBox in interface IBox
        Returns:
      • getFontColor

        public final Integer getFontColor()

        Gets or sets watermark text font color

        Specified by:
        getFontColor in interface IFontColor
        Returns:
      • getFontFamily

        public final String getFontFamily()

        Gets or sets watermark text font family

        Specified by:
        getFontFamily in interface IFontFamily
        Returns:
      • getFontSize

        public final Double getFontSize()

        Gets or sets watermark text font size

        Specified by:
        getFontSize in interface IFontSize
        Returns:
      • getOpacity

        public final Double getOpacity()

        Gets or sets watermark opacity

        Specified by:
        getOpacity in interface IOpacity
        Returns:
      • getText

        public final String getText()

        Gets or sets watermark text

        Specified by:
        getText in interface IText
        Returns:
      • setAngle

        public final void setAngle(Double value)

        Gets or sets watermark rotation angle

        Specified by:
        setAngle in interface IAngle
        Parameters:
        value -
      • setBox

        public final void setBox(Rectangle value)

        Gets or sets annotation position

        Specified by:
        setBox in interface IBox
      • setFontColor

        public final void setFontColor(Integer value)

        Gets or sets watermark text font color

        Specified by:
        setFontColor in interface IFontColor
        Parameters:
        value -
      • setFontFamily

        public final void setFontFamily(String value)

        Gets or sets watermark text font family

        Specified by:
        setFontFamily in interface IFontFamily
        Parameters:
        value -
      • setFontSize

        public final void setFontSize(Double value)

        Gets or sets watermark text font size

        Specified by:
        setFontSize in interface IFontSize
        Parameters:
        value -
      • setOpacity

        public final void setOpacity(Double value)

        Gets or sets watermark opacity

        Specified by:
        setOpacity in interface IOpacity
        Parameters:
        value -
      • setText

        public final void setText(String value)

        Gets or sets watermark text

        Specified by:
        setText in interface IText
        Parameters:
        value -