Annotation Interface OverlayScreenText


@Retention(RUNTIME) @Target({FIELD,METHOD}) @Documented public @interface OverlayScreenText
Renders text labels at client screen coordinates.

Supported binding values are OverlayScreenTextLabel, Optional<OverlayScreenTextLabel>, Iterable<OverlayScreenTextLabel>, Iterator<OverlayScreenTextLabel>, or arrays.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether labels use a bold font.
    int
    Font size used for labels.
    boolean
    Whether labels should draw a black shadow.
    int
    Default text color in ARGB format when a label does not provide one.
  • Element Details

    • text

      int text
      Default text color in ARGB format when a label does not provide one.
      Default:
      -2630168
    • fontSize

      int fontSize
      Font size used for labels.
      Default:
      11
    • bold

      boolean bold
      Whether labels use a bold font.
      Default:
      false
    • shadow

      boolean shadow
      Whether labels should draw a black shadow.
      Default:
      true