Icon

A VisualElement that displays a Paragon icon from the icon atlas, with optional superscript and subscript icon overlays. Can be used in UXML templates or created programmatically.

Architecture

spinner

Visual Layout

┌──────────────────┐
│                ┌─┤ ← Superscript (top-right quarter)
│  Background    │S│
│  (full icon)   ├─┘
│                │
│  ┌─┐           │
│  │s│           │ ← Subscript (bottom-right quarter)
│  └─┴───────────┘

Both overlay elements are positioned absolutely at 50% offsets, covering one quarter of the icon area.

Classes

Class
Purpose

Paragon icon element with superscript/subscript overlays

See Also

Last updated