Click or drag to resize
XDL

XFramePictureGetPixelRGB Method

특정 화소의 색상값을 RGB 형식으로 얻는다. 화소 형식이 RGB가 아닌 경우 RGB 대응값으로 변환한다.

Namespace: Pixoneer.NXDL.NXVideo
Assembly: NXVideo (in NXVideo.dll) Version: 2.0.3.38
Syntax
C#
public bool GetPixelRGB(
	int nX,
	int nY,
	out Color color
)

Parameters

nX  Int32
화소 가로 위치.
nY  Int32
화소 세로 위치.
color  Color
[OUT] RGB 화소값. A 값은 불투명 값(255)으로 채운다.

Return Value

Boolean
화소값 획득 여부. 좌표 범위가 벗어나거나 미지정 화소 형식인 경우 화소값을 얻지 못한다.
See Also