メインコンテンツまでスキップ
バージョン:26.3

colorFormat

Global Property

(Defined in STColor.xmodule)

the colorFormat global property can be set to "Basic", "Alpha", "W", "WA", "RGB", "RGBA", "HSB", "HSBA", "CMYK", "CMYKA", or "HTML" to specify the format in which a color value will be displayed.

"Basic" is a list of 3 integers from 0-255 representing the levels of red, green, and blue in the color. The "Alpha" format adds a fourth integer representing the opacity of the color.

The "HTML" format presents a color as a hexadecimal number preceded by "#" (such as "#FF0000" for red).

The other formats are text lists beginning with the format identifier, followed by one or more component values from 0.0-1.0 indicating the level of each color component. The colorFormat is initially set to "Basic".

Further Reading

Resources in our other reference manuals:

Related terms in the SenseTalk Dictionary:



ノート

This page is under construction: it has not been reviewed for completeness.