So how do we get a gradient background on a shell?
那么如何在shell上得到渐变的背景色呢?
The final piece to defining the example login screen in Figure 2 is to draw the gradient background with the curved line.
定义图2中登录屏幕例子的最后工作是用曲线绘制渐变背景。
As we have SWT widgets inside our shell and we intend to use a gradient background on the shell itself, all the widgets need to be transparent.
由于我们的SWT组件在shell内部并且我们打算对shell本身使用渐变背景,所有的组件都必须是透明的。
This is useful when the element is over an image or gradient background.
这在元素的背景为图像或渐变背景时很有用。
This is useful when the element is over an image or gradient background.
这在元素的背景为图像或渐变背景时很有用。
应用推荐