PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

GdkColor | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

GdkColor

A structure that holds a defined color.

Object Hierarchy

Direct subclasses

None.

Description

A GdkColor provides an object structure for retaining information about a defined color.

This is an XcmsColor structure, and will take values in any XcmsColor format accordingly. Probably the most generally useful of these formats is the gamma-corrected XcmsRGB structure, which takes the range 0 to 65535 per RGB value, with 0, 0, 0 being the color black. RGB values that are given in this way are scaled to match the color range of the hardware device currently being used.

Colors can be assigned through an application's RC files, where the GdkColor objects are constructed via the application colormap defined through the file. Colors that are assigned in this way can be constructed using any of the formats accepted by the XcmsColor structure, including intensity doubles.

Note that this is not the case when assigning a color to a GdkColor directly.

Constructor

GdkColor (int red, int green, int blue);
-- Creates a new color object using one of three possible constructs.

Properties

red:
?? The red part of the color
green:
?? The green part of the color
blue:
?? The blue part of the color

忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「GdkColor」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | GdkColor」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: