Vixen
02b45cc4
csharp
public readonly record struct ClipboardImage

An image on the clipboard, as straight (non-premultiplied) RGBA8 pixels.

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

Fields and properties (2)

  • public ReadOnlyMemory<byte> Pixels

    Size.X * Size.Y * 4 bytes, row-major from the top-left.

  • public Int2 Size

    The image's dimensions in pixels.

Methods (1)

  • public ClipboardImage(ReadOnlyMemory<byte> Pixels, Int2 Size)

    An image on the clipboard, as straight (non-premultiplied) RGBA8 pixels.

Used by (13)

  • DesktopClipboardVixen.Platform.Desktop
  • DibImageVixen.Platform.Windows
  • DibImageTestsVixen.Platform.Windows.Tests
  • HeadlessClipboardVixen.Platform.Headless
  • IClipboardVixen.Platform
  • LinuxClipboardVixen.Platform.Linux
  • MacOSClipboardVixen.Platform.MacOS
  • MacOSSupplementTestsVixen.Platform.MacOS.Tests
  • NothingClipboardVixen.Platform.MacOS.Tests
  • NothingClipboardVixen.Platform.Desktop.Tests
  • PngImageVixen.Platform.Linux
  • PngImageTestsVixen.Platform.Linux.Tests
  • WindowsClipboardVixen.Platform.Windows