ToYUV  Global

The ToYUV function retrieves the value of the specified YUV color.

Syntax

Integer Global.ToYUV(
     Integer y,
     Integer u,
     Integer v)

Parameters

yY value (0-255).Required
uU value (0-255).Required
vV value (0-255).Required

Return value

The ToYUV function returns a value between 0x000000 and 0xFFFFFF.

Example

value = ToYUV(255, 128, 128)
// 0xFF8080
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia