Class SetTextGDIPlusProperties.Builder

    • Method Detail

      • getSource

        public String getSource()
        Name of the source.
      • setSource

        public void setSource​(String source)
        Name of the source.
      • getAlign

        public Optional<String> getAlign()
        Text Alignment ("left", "center", "right").
      • setAlign

        public void setAlign​(String align)
        Text Alignment ("left", "center", "right").
      • setBkColor

        public void setBkColor​(int bkColor)
        Background color.
      • getBkOpacity

        public Optional<Integer> getBkOpacity()
        Background opacity (0-100).
      • setBkOpacity

        public void setBkOpacity​(int bkOpacity)
        Background opacity (0-100).
      • setChatlog

        public void setChatlog​(boolean chatlog)
        Chat log.
      • getChatlogLines

        public Optional<Integer> getChatlogLines()
        Chat log lines.
      • setChatlogLines

        public void setChatlogLines​(int chatlogLines)
        Chat log lines.
      • setColor

        public void setColor​(int color)
        Text color.
      • setExtents

        public void setExtents​(boolean extents)
        Extents wrap.
      • setExtentsCx

        public void setExtentsCx​(int extentsCx)
        Extents cx.
      • setExtentsCy

        public void setExtentsCy​(int extentsCy)
        Extents cy.
      • setFile

        public void setFile​(String file)
        File path name.
      • isReadFromFile

        public Optional<Boolean> isReadFromFile()
        Read text from the specified file.
      • setReadFromFile

        public void setReadFromFile​(boolean readFromFile)
        Read text from the specified file.
      • setFont

        public void setFont​(SetTextGDIPlusProperties.Font font)
        Holds data for the font. Ex: `"font": { "face": "Arial", "flags": 0, "size": 150, "style": "" }`
      • setGradient

        public void setGradient​(boolean gradient)
        Gradient enabled.
      • getGradientColor

        public Optional<Integer> getGradientColor()
        Gradient color.
      • setGradientColor

        public void setGradientColor​(int gradientColor)
        Gradient color.
      • getGradientDir

        public Optional<Float> getGradientDir()
        Gradient direction.
      • setGradientDir

        public void setGradientDir​(float gradientDir)
        Gradient direction.
      • getGradientOpacity

        public Optional<Integer> getGradientOpacity()
        Gradient opacity (0-100).
      • setGradientOpacity

        public void setGradientOpacity​(int gradientOpacity)
        Gradient opacity (0-100).
      • setOutline

        public void setOutline​(boolean outline)
        Outline.
      • getOutlineColor

        public Optional<Integer> getOutlineColor()
        Outline color.
      • setOutlineColor

        public void setOutlineColor​(int outlineColor)
        Outline color.
      • setOutlineSize

        public void setOutlineSize​(int outlineSize)
        Outline size.
      • getOutlineOpacity

        public Optional<Integer> getOutlineOpacity()
        Outline opacity (0-100).
      • setOutlineOpacity

        public void setOutlineOpacity​(int outlineOpacity)
        Outline opacity (0-100).
      • getText

        public Optional<String> getText()
        Text content to be displayed.
      • setText

        public void setText​(String text)
        Text content to be displayed.
      • getValign

        public Optional<String> getValign()
        Text vertical alignment ("top", "center", "bottom").
      • setValign

        public void setValign​(String valign)
        Text vertical alignment ("top", "center", "bottom").
      • isVertical

        public Optional<Boolean> isVertical()
        Vertical text enabled.
      • setVertical

        public void setVertical​(boolean vertical)
        Vertical text enabled.
      • isRender

        public Optional<Boolean> isRender()
        Visibility of the scene item.
      • setRender

        public void setRender​(boolean render)
        Visibility of the scene item.