AccentRowElement record
Wraps a row Child with a per-row accent backdrop drawn BEHIND it: a faint Stripe-tinted bar whose width is Share (0..1) of the row, plus a 3-px Stripe-coloured left edge. The CombatMeter History/Skill table rows use this for the role-coloured stripe + share-fraction wash the IMGUI build drew (DrawRowAccent). Both Funcs are poll-diffed.
public record AccentRowElement : IEquatable<HudElement>Public Members
Section titled “Public Members”| name | description |
|---|---|
| AccentRowElement(…) | Wraps a row Child with a per-row accent backdrop drawn BEHIND it: a faint Stripe-tinted bar whose width is Share (0..1) of the row, plus a 3-px Stripe-coloured left edge. The CombatMeter History/Skill table rows use this for the role-coloured stripe + share-fraction wash the IMGUI build drew (DrawRowAccent). Both Funcs are poll-diffed. |
| Child { get; set; } | |
| CornerRadius { get; set; } | Opt-in rounded wash (framework 2.33.0). > 0 = drop the 3 px left stripe and draw the share wash with corners of this radius in px, so it sits flush inside a rounded tile of the same radius (e.g. a BubbleElement with CornerRadius = 6): the left end follows the tile’s rounded corners, the right end is a straight cut (as if the tile clipped it), and only within radius px of the row’s right edge does it round off with the tile. A share narrower than the corner draws a proportionally squashed corner. 0 (the default) = the original square wash + stripe, unchanged. Init property, NOT a ctor param, so the record’s primary constructor stays binary-compatible. |
| Share { get; set; } | |
| Stripe { get; set; } | |
| WashAlpha { get; set; } | Opacity (0..1) of the share wash, multiplied into the Stripe colour (framework 2.33.0). 0 (the default) = the original 0.12. Init property (binary-compatible). |
See Also
Section titled “See Also”- record HudElement
- namespace Stellar.Abstractions.Services