Table of Contents

Interface IBitmap

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public interface IBitmap
Extension Methods

Properties

Height

int Height { get; }

Property Value

int

Pixels

int[] Pixels { get; }

Property Value

int[]

Width

int Width { get; }

Property Value

int

Methods

GetPixel(int, int)

SKColor GetPixel(int x, int y)

Parameters

x int
y int

Returns

SKColor

GetPixelRel(float, float)

SKColor GetPixelRel(float x, float y)

Parameters

x float
y float

Returns

SKColor

GetPixelsTransformed(int, int)

int[] GetPixelsTransformed(int rot = 0, int alpha = 100)

Parameters

rot int
alpha int

Returns

int[]