Class TextBlock

java.lang.Object
com.luciad.text.TextBlock
All Implemented Interfaces:
AutoCloseable

public final class TextBlock extends Object implements AutoCloseable
A class containing multiple lines of text with multiple styles.
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • newBuilder

      @NotNull public static TextBlock.Builder newBuilder()
      Creates a builder that can create text with multiple lines and styles.
      Returns:
      a builder that can create text with multiple lines and styles.
      See Also:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object