|
Top > ColorIndexToRGB
**ColorIndexToRGB カテゴリ ユーティリティ(Utility) [#dc27e8d4] Declaration: PROCEDURE ColorIndexToRGB ( color :INTEGER; VAR red :LONGINT; VAR green :LONGINT; VAR blue :LONGINT ) ; Description: Procedure ColorIndexToRGB converts the Vectorworks palette colors from the colors' palette position index to its red, green, and blue component values. RGB values are in the range of 0~65535. A color table listing with associated index values can be found in the Appendix. 説明 カラーパレットの色番号から各色の成分を取り出します。値の範囲は0から65535までです。 Parameters: color Color index. 色番号 red RGB color component value. 赤の成分 green RGB color component value. 緑の成分 blue RGB color component value. 青の成分 BGCOLOR(white):100|BGCOLOR(white):100|BGCOLOR(white):100|c |BGCOLOR(white):100|BGCOLOR(white):100|BGCOLOR(white):100|c |変数名|型|変数の説明| |color|INTEGER|色番号| |red|LONGINT|赤の成分| |green|LONGINT|緑の成分| |blue|LONGINT|青の成分| Example: ColorIndexToRGB(45,r,g,b); {returns the color value components of the color at position 45} |