xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Public 成员函数 | 成员变量 | 静态 Public 属性
QPainter.Paint类 参考

Public 成员函数

成员变量

静态 Public 属性

详细描述

在文件 QPainter.xcsm12 行定义.

成员函数说明

◆ setAlpha()

void setAlpha ( int  a)

在文件 QPainter.xcsm30 行定义.

30 {
31 color = ((a & 0xff) << 24) | (color & 0x00ffffff);
32 }

◆ setColor()

void setColor ( int  c)

在文件 QPainter.xcsm22 行定义.

22 {
23 color = c;
24 }

◆ setStrokeWidth()

void setStrokeWidth ( double  sw)

在文件 QPainter.xcsm34 行定义.

34 {
35 width = sw;
36 }

◆ setStyle()

void setStyle ( int  s)

在文件 QPainter.xcsm38 行定义.

38 {
39 style = s;
40 }

◆ setTextSize()

void setTextSize ( double  ts)

在文件 QPainter.xcsm26 行定义.

26 {
27 textSize = ts;
28 }

结构体成员变量说明

◆ color

int color

在文件 QPainter.xcsm18 行定义.

◆ FILL

const int FILL = 2
static

在文件 QPainter.xcsm14 行定义.

◆ FILL_AND_STROKE

const int FILL_AND_STROKE = 3
static

在文件 QPainter.xcsm16 行定义.

◆ STROKE

const int STROKE = 1
static

在文件 QPainter.xcsm15 行定义.

◆ style

int style

在文件 QPainter.xcsm17 行定义.

◆ textSize

int textSize = -1

在文件 QPainter.xcsm20 行定义.

◆ width

double width

在文件 QPainter.xcsm19 行定义.