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

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.