Interface IBitmap
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
Properties
Height
Property Value
- int
Pixels
Property Value
- int[]
Width
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[]