servicepoint/crates/servicepoint_binding_cs/ServicePoint/Bitmap.cs

13 lines
231 B
C#
Raw Normal View History

namespace ServicePoint;
2024-05-13 00:17:40 +02:00
public sealed partial class Bitmap
2024-05-13 00:17:40 +02:00
{
2024-10-16 20:56:55 +02:00
public bool this[nuint x, nuint y]
2024-05-13 00:17:40 +02:00
{
get => Get(x, y);
set => Set(x, y, value);
2024-05-13 00:17:40 +02:00
}
public Span<byte> Data => UnsafeDataRef().AsSpan();
2024-05-13 00:17:40 +02:00
}