Click or drag to resize
Ab4d.SharpEngine logo

RawImageDataGetColorRelative Method

Returns the color as uint value at the specified relative position (x and y should be in range from 0 to 1).

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public uint GetColorRelative(
	float x,
	float y
)

Parameters

x  Single
x as relative value from 0 to 1
y  Single
y as relative value from 0 to 1

Return Value

UInt32
color as uint value at the specified position
See Also