Annotation Interface OverlayRect


@Retention(RUNTIME) @Target({FIELD,METHOD}) @Documented public @interface OverlayRect
Renders rect bindings as world area overlays.

Supported binding values are Rect, Optional<Rect>, Iterable<Rect>, Iterator<Rect>, Rect[], or Map<Rect, ?>. Nulls and non-Rect values are ignored.

When a map is returned, each key is rendered as the area and its value is rendered as label text. Iterable, iterator, and array label values are expanded into multiple labels. Duplicate rects are drawn once, with labels merged in encounter order.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Area fill color in ARGB format.
    int
    Area outline color in ARGB format.
  • Element Details

    • fill

      int fill
      Area fill color in ARGB format.
      Default:
      1145030655
    • outline

      int outline
      Area outline color in ARGB format.
      Default:
      -583022593