Vixen
02b45cc4
csharp
public enum IconPaintKind

Where a path's colour comes from.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Three cases, and all three are needed. An icon set that only offers literals looks correct in the theme it was drawn for and wrong in the other one; one that only offers the inherited colour cannot draw a file-type glyph anybody can scan a grid by. The middle case is what lets an icon say "the warning colour" and still follow a retheme.

Fields and properties (4)

  • None

    Not painted at all. What a path with no stroke has for a stroke.

  • Foreground

    The element's color — what every icon drawn before this type existed used.

  • Token

    A custom property read off the element, so the cascade decides it.

  • Literal

    A colour written into the icon.

Used by (4)

  • IconVixen.Ui.Controls
  • IconPaintVixen.Ui.Controls
  • IconContributionTestsVixen.Editor.App.Tests
  • OutOfTreePluginTestsVixen.Editor.App.Tests