IEffectPlaceholders.GetEffectPlaceholderPng method
The PNG bytes of the LoadEffectPlaceholder tile, for elements that take Func<byte[]?> (e.g. ImageElement). Same size pick; the array is cached and shared, do not modify it. Null only when the resource is missing. Any thread. Added in 2.34.0.
public byte[]? GetEffectPlaceholderPng(EffectCategory category, bool debuff, int sizePx)| parameter | description |
|---|---|
| category | The glyph; an unknown value draws Default. |
| debuff | True = red debuff tile, false = green buff tile. |
| sizePx | The image’s on-screen size in pixels. |
See Also
Section titled “See Also”- enum EffectCategory
- interface IEffectPlaceholders
- namespace Stellar.Abstractions.Services