In a canvas app, you can layer controls in front of one another and specify the transparency of a control to any controls that are behind it. The third and fourth represents intensity of green and fifth and sixth represents the intensity of blue. Transparency is the quality of being able to see through a material. dunkler zu machen.Die Methoden liefern uns dann den modifizierten Farbton zurück. The ColorValuefunction returns a color based on a color string in a CSS. the Specifying Colors tutorial; the matplotlib.colors API; the Color Demo. You can achieve this by setting backgroundColor: “transparent”. The LCL can also work with the fpImage system which uses the TFPColor type (which is RGBA (4x16bit), not RGB (3x8bit) like TColor). The color parameters can be changed via TColor::SetRGB . Public Shared ReadOnly Property Transparent As Color プロパティ値 Color システム定義色を表す Color。A Color representing a system-defined color. The string can take any of these forms: 1. データベース論理設計(業務分析)が趣味のようになってしまったシステム開発のスペシャリストです。パフォーマンスチューニングも得意です。システムにおける様々な問題を解決していますので、それらを共有できればと思います。, 先日、透明なウィンドウをつくったところで、ひらめきました。透明なキャンバスのウィンドウをつくって、それを別のウィンドウに重ねるのは、どうでしょうか。と、いうことで試しにやってみました。ちょっと実用には遠いですが、アイディアとして記録しておきます。, まずは、背景になるキャンバスをつくります。そして、前面に来る透明なキャンバスをつくるのですが、そのときに、Toplevelのウィンドウをつくって、このウィンドウ用のキャンバスとします。そして、Toplvelの方に透明となる設定を施す、というのがおおまかな流れです。, 9行目でToplevelのウィンドウをつくっています。10行目「self.top.wm_attributes(“-topmost”, True)」は、割とポイントになりますが、常に一番上のウィンドウとなるようにする設定です。これで、透明なキャンバスが常に上に表示されるようになります。, 11行目、「self.top.overrideredirect(True)」では、ウィンドウのタイトル部分を消去しています。これでアイコン化や閉じるボタンなども使えなくなります。, 13行目、14行目でキャンバスをつくって、配置しています。キャンバスの背景色は、「”white”(白)」にセットしていますが、これが16行目の「self.top.wm_attributes(“-transparentcolor”, “white”)」のところで効いてきます。ここで-transparentcolorは透明にする色で、「”white”(白)」を指定しています。こうすることでキャンバスの背景色の白が透明になります。, 23行目から、いくつかイベントをバインドしています。最初のイベントはです。ウィンドウのサイズなどが変更されたときに発生します。ウィンドウサイズが変更されたときに、透明なキャンバスのサイズも同時に変更するために指定しました。と