Class OperationWatermarkFont


  • public class OperationWatermarkFont
    extends Object
    Used to specify the font used for a watermark.
    • Constructor Detail

      • OperationWatermarkFont

        public OperationWatermarkFont()
    • Method Detail

      • getBold

        @Nullable
        public @Nullable Boolean getBold()
        Used to increase the text output's weight.
        Returns:
        bold
      • setBold

        public void setBold​(Boolean bold)
      • getColor

        @Nullable
        public @Nullable String getColor()
        Used to set the colour for the watermark. The hereby defined color needs to be specified as a hexadecimal RGB value with a number sign before it.
        Returns:
        color
      • setColor

        public void setColor​(String color)
      • getItalic

        @Nullable
        public @Nullable Boolean getItalic()
        Used to set the italic font posture for the text output.
        Returns:
        italic
      • setItalic

        public void setItalic​(Boolean italic)
      • getName

        @Nullable
        public @Nullable String getName()
        Used to specify the name of the font that should be used for the text output. If a font is not specified, \"Helvetica\" will be used.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getOpacity

        @Nullable
        public @Nullable Integer getOpacity()
        Used to set the opacity of the text output as a watermark. minimum: 0 maximum: 100
        Returns:
        opacity
      • setOpacity

        public void setOpacity​(Integer opacity)
      • getOutline

        @Nullable
        public @Nullable Boolean getOutline()
        Uses an outline font for the text output.
        Returns:
        outline
      • setOutline

        public void setOutline​(Boolean outline)
      • getSize

        @Nullable
        public @Nullable Integer getSize()
        Used to set the text size for the text output. minimum: 1 maximum: 1296
        Returns:
        size
      • setSize

        public void setSize​(Integer size)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object