Class TextMarkInfoItem

    • Constructor Detail

      • TextMarkInfoItem

        public TextMarkInfoItem()
      • TextMarkInfoItem

        public TextMarkInfoItem​(TextMarkInfoItem source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getText

        public String getText()
        Get 文字内容。
        Returns:
        Text 文字内容。
      • setText

        public void setText​(String Text)
        Set 文字内容。
        Parameters:
        Text - 文字内容。
      • getPosX

        public Long getPosX()
        Get 文字水印X坐标。
        Returns:
        PosX 文字水印X坐标。
      • setPosX

        public void setPosX​(Long PosX)
        Set 文字水印X坐标。
        Parameters:
        PosX - 文字水印X坐标。
      • getPosY

        public Long getPosY()
        Get 文字水印Y坐标。
        Returns:
        PosY 文字水印Y坐标。
      • setPosY

        public void setPosY​(Long PosY)
        Set 文字水印Y坐标。
        Parameters:
        PosY - 文字水印Y坐标。
      • getFontSize

        public Long getFontSize()
        Get 文字大小
        Returns:
        FontSize 文字大小
      • setFontSize

        public void setFontSize​(Long FontSize)
        Set 文字大小
        Parameters:
        FontSize - 文字大小
      • getFontFile

        public String getFontFile()
        Get 字体,可选项:hei,song,simkai,arial;默认hei(黑体)。
        Returns:
        FontFile 字体,可选项:hei,song,simkai,arial;默认hei(黑体)。
      • setFontFile

        public void setFontFile​(String FontFile)
        Set 字体,可选项:hei,song,simkai,arial;默认hei(黑体)。
        Parameters:
        FontFile - 字体,可选项:hei,song,simkai,arial;默认hei(黑体)。
      • getFontColor

        public String getFontColor()
        Get 字体颜色,颜色见附录,不填默认black。
        Returns:
        FontColor 字体颜色,颜色见附录,不填默认black。
      • setFontColor

        public void setFontColor​(String FontColor)
        Set 字体颜色,颜色见附录,不填默认black。
        Parameters:
        FontColor - 字体颜色,颜色见附录,不填默认black。
      • getFontAlpha

        public Float getFontAlpha()
        Get 文字透明度,可选值0-1。0:不透明,1:全透明。默认为0
        Returns:
        FontAlpha 文字透明度,可选值0-1。0:不透明,1:全透明。默认为0
      • setFontAlpha

        public void setFontAlpha​(Float FontAlpha)
        Set 文字透明度,可选值0-1。0:不透明,1:全透明。默认为0
        Parameters:
        FontAlpha - 文字透明度,可选值0-1。0:不透明,1:全透明。默认为0