Vixen
02b45cc4
csharp
public sealed class ColorSwatch

One saved colour.

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

Fields and properties (3)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • protected override bool AcceptsFocus

    Whether the focus can rest on this kind of control at all.

  • public Color4 Color

    What it shows.

Methods (2)

  • protected override void OnCreated()
  • protected override void OnDraw(DrawContext context)

    Draws whatever this element is, beyond what a stylesheet can describe.

Used by (4)

  • ColorInputVixen.Ui.Controls.Advanced
  • ColorInputTestsVixen.Ui.Controls.Advanced.Tests
  • ColorPickerVixen.Ui.Controls.Advanced
  • ColorPickerTestsVixen.Ui.Controls.Advanced.Tests