xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QGraphicsDropShadowEffect.x
浏览该文件的文档.
1//xlang Source, Name:qt5/widgets/QGraphicsDropShadowEffect.x
2//Date: Mon Oct 20:36:15 2022
3package Qt{
4 @SuppressWarnings public class QGraphicsDropShadowEffect : QGraphicsEffect{
5 public QGraphicsDropShadowEffect(QWidget parent){
6 nativehandle = QtXnl.createQObject(QType.qtGraphicsDropShadowEffect, this, parent != nilptr ? parent.nativehandle : 0l);
7 if (nativehandle == 0){
8 throw new Exception("can not create QGraphicsDropShadowEffect");
9 }
10 }
11
12 public QGraphicsDropShadowEffect(long handle){
13 super(handle);
14 }
15
16 public void setOffset(int x, int y){
17 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGRAPHICSDROPSHADOWEFFECT_SETOFFSET, x, y);
18 }
19
20 public void setColor(int color){
21 QtXnl.widget_set_vint_value(nativehandle, Constant.QGRAPHICSDROPSHADOWEFFECT_SETCOLOR, color);
22 }
23
24 public void setBlurRadius(double blurRadius){
25 QtXnl.widget_set_double_value(nativehandle,Constant.QGRAPHICSDROPSHADOWEFFECT_BLURRADIUS, blurRadius);
26 }
27 };
28};
异常类
void setBlurRadius(double blurRadius)