Matrix1 Utility Plug-ins

PACK HSV


Syntax

Packed HSV = PACK HSV ( Hue, Saturation, Value )
Packed HSV = PACK HSV ( Alpha, Hue, Saturation, Value )

Description

This function will take the values used for the HSV colour and pack them into a DWORD value.

This is a convenience function, and may result in a slight loss of colour resolution when the packed value is used or unpacked.

Alpha, Saturation and Value should all be in the range 0.0 to 1.0.
Hue should be in the range 0.0 to 360.0.

Go back to ...

Matrix1Util_23 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011