Argox PA-20 Basic Programming Manual Instrukcja Użytkownika Strona 143

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 143
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 142
PT-Basic Programming Manual Ver. 1.00 142/143
Appendix D
Parameter for Color
In our BASIC SDK function, some have color parameter, this appendix will tell you
how to set color parameter.
1. Value:
The BASIC parameter value doesnt support Hex., so you have to set it in
DEC.
Our sample will use HEX and when you want to set color, please
conversion Dec from Hex value.
2. Example:
Color
Hex value
Dec value
Red
0x0000FF
255
Green
0x00FF00
65280
Blue
0xFF0000
16711680
White
0xFFFFFF
16777215
Black
0x000000
0
Red, Green, and Blue are the Primary color of light. If you want to set color
Yellow, for example, you have to use Red and Green color.
So, the yellow color hex value is 0x00FFFF. You can set the color you
want by this rule.
Przeglądanie stron 142
1 2 ... 138 139 140 141 142 143

Komentarze do niniejszej Instrukcji

Brak uwag