Class OptionsBuilder

java.lang.Object
ml.karmaconfigs.api.common.utils.string.OptionsBuilder

public class OptionsBuilder extends Object
Karma string generator options builder
  • Method Details

    • withSize

      public OptionsBuilder withSize(int sz)
      Set the text size
      Parameters:
      sz - the text size
      Returns:
      this instance
    • withContent

      public OptionsBuilder withContent(TextContent ctn)
      Set the text content
      Parameters:
      ctn - the content
      Returns:
      this instance
    • withType

      public OptionsBuilder withType(TextType tp)
      Set the text type
      Parameters:
      tp - the text tpye
      Returns:
      this instance
    • getSize

      public int getSize()
      Get the text size
      Returns:
      the text size
    • getContent

      public TextContent getContent()
      Get the text content
      Returns:
      the text content
    • getType

      public TextType getType()
      Get the text type
      Returns:
      the text type