Table of Contents

Struct ProvinceMapProcessor.BMPPixelDataWrapper

Namespace
Map.Loading
Assembly
MapAssembly.dll

Wrapper for pixel data access (supports both BMP and PNG)

public struct ProvinceMapProcessor.BMPPixelDataWrapper

Methods

TryGetPixelRGB(int, int, out byte, out byte, out byte)

Try to get RGB values at pixel coordinates

public bool TryGetPixelRGB(int x, int y, out byte r, out byte g, out byte b)

Parameters

x int
y int
r byte
g byte
b byte

Returns

bool