|
◆ setPen()
void GiShapeAdapter::setPen |
( |
int |
argb, |
|
|
float |
width, |
|
|
int |
style, |
|
|
float |
phase, |
|
|
float |
orgw |
|
) |
| |
|
virtual |
Set attributes of the current pen to stroke edges.
- 参数
-
argb | Stroke color, ignored if equals to zero, alpha = (argb>>24) & 0xFF, red = (argb>>16) & 0xFF, green = (argb>>8) & 0xFF, blue = argb & 0xFF. |
width | Line width in point unit, ignored if <= 0. |
style | Line dash type (& kLineDashMask), ignored if < 0. 0:solid line, 1:dash line, 2:...., 3:-.-.-, 4:-..-.., 5:null line, >5:customized line. Round end caps for solid line, flat end caps for the four dash types. |
phase | Dash pattern's offset in point unit. |
orgw | Orginal line width, >0: in 0.01mm unit, 0: 1px, <0: in point unit. |
实现了 GiCanvas.
|