Click or drag to resize
Ab4d.SharpEngine logo

RawImageDataGetColor4 Method

Returns the color as Color4 value at the specified position.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public Color4 GetColor4(
	int x,
	int y,
	Format format = Format.B8G8R8A8Unorm
)

Parameters

x  Int32
x
y  Int32
y
format  Format  (Optional)
format of the color - supported formats: B8G8R8A8Unorm (default) and R8G8B8A8Unorm

Return Value

Color4
color as Color4 value at the specified position
Exceptions
See Also