Class RGBABitmap
public sealed class RGBABitmap : IDisposable
- Inheritance
-
RGBABitmap
- Implements
- Inherited Members
Constructors
RGBABitmap(int, int)
public RGBABitmap(int width, int height)
Parameters
Fields
Height
public readonly int Height
Field Value
Stride
public readonly int Stride
Field Value
Width
public readonly int Width
Field Value
Properties
this[int, int]
public uint this[int x, int y] { get; set; }
Parameters
Property Value
Pixels
public uint* Pixels { get; }
Property Value
- uint*
Span
public Span<uint> Span { get; }
Property Value
VectorSpan
public Span<Vector<uint>> VectorSpan { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Fill(uint)
public void Fill(uint value = 0)
Parameters
valueuint
FillRect(in Rect, uint)
public void FillRect(in Rect rect, uint value)
Parameters
~RGBABitmap()
protected ~RGBABitmap()
InitRect(in Rect, uint)
Initializes a rectangular region of the bitmap using SIMD, aligned outward to the nearest vector boundary. This method may overdraw slightly beyond the specified rectangle for performance. Suitable for fast clearing of bounds when rendering shapes or tiles.
public void InitRect(in Rect rect, uint value = 0)