-
Notifications
You must be signed in to change notification settings - Fork 1
Rgb
mtbeek32 edited this page Jan 31, 2024
·
7 revisions
- rgb(red, green, blue)
rgb(red, green, blue) function results in a uint32 rgb color value with the data items: red, green and blue representing the red, green and blue aspects of the rgb value.
- data items with (u)int8, (u)int16 or (u)int32 value type
- data items red, green and blue need to match with regard to their domain unit (literals or parameters can be used with data items of any domain).
parameter<uint8> red := uint8(254);
parameter<uint8> green := uint8(128);
parameter<uint8> blue := uint8( 0);
parameter<uint32> rgb := rgb(red, green, blue);
result = parameter rgb with rgb value: 254,128,0 (orange)
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.