Interface IPixel<TSelf>
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 PixelOperations<TPixel> instance for this pixel type. This method is not intended to be consumed directly. Use Instance instead.
Declaration
PixelOperations<TSelf> CreatePixelOperations()
Returns
Type | Description |
---|---|
PixelOperations<TSelf> | The PixelOperations<TPixel> instance. |