/// Auto-detect whether the chosen effect-box rect includes the parchment border.
/// Uses normalized rect comparison + sprite border data when available.
/// </summary>
Auto,
/// <summary>
/// The chosen rect includes the parchment border lines (outer box).
/// We will cut INWARD (9-slice border if available, otherwise fallback inset) so the OverArt never tints the border.
/// </summary>
OuterRectIncludesBorder,
/// <summary>
/// The chosen rect is already the INNER fill area (border already excluded).
/// We will NOT apply border/fallback inset (only tiny filtering safety).
/// </summary>
InnerRectAlreadyInset
}
[Header("OverFrame / Proxy (OverArt)")]
[Tooltip("Assign the parchment/effect-box Image that draws the effect text box (INCLUDING the border). This must be the real parchment Image (the one that visually has the orange/gold border), not the TMP text rect or a padding container.")]
publicImageoverFrameEffectBoxImage;
[Tooltip("How to interpret the effect-box rect when clipping OverArt into the parchment area. Auto is recommended. If your parchment sprite has NO 9-slice border data, Auto still works by comparing to the reference rect.")]