Interface IPixel
An interface that represents a generic pixel type. The naming convention of each pixel format is to order the color components from least significant to most significant, reading from left to right. For example in the Rgba32 pixel format the R component is the least significant byte, and the A component is the most significant.
Inherited Members
Namespace: SixLabors .ImageSharp .PixelFormats
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface IPixel<TSelf> : IPixel, IEquatable<TSelf> where TSelf : unmanaged, IPixel<TSelf>
Type Parameters
Name | Description |
---|---|
TSelf | The type implementing this interface |
Methods
| Edit this page View SourceCreatePixelOperations()
Creates a Pixel
Declaration
PixelOperations<TSelf> CreatePixelOperations()
Returns
Type | Description |
---|---|
PixelOperations<TSelf> | The Pixel |