Method | Description | |
---|---|---|
CreateRoundPath ( |
构建圆角路径
|
|
CreateRoundRect ( |
构建圆角路径
|
|
DrawImage ( |
|
|
RendererBackground ( |
渲染背景图片,使背景图片不失真
|
|
RendererBackground ( |
渲染背景图片,使背景图片不失真
|
public static CreateRoundPath ( |
||
rect | ||
cornerRadius | int | |
return |
public static CreateRoundRect ( |
||
r | ||
r1 | float | |
r2 | float | |
r3 | float | |
r4 | float | |
return |
public static DrawImage ( |
||
g | ||
image | Image | |
x1 | int | |
y1 | int | |
width1 | int | |
height1 | int | |
x2 | int | |
y2 | int | |
width2 | int | |
height2 | int | |
return | void |
public static RendererBackground ( |
||
g | ||
rect | ||
backgroundImage | Image | |
method | bool | |
return | void |
public static RendererBackground ( |
||
g | ||
rect | ||
cut | int | |
backgroundImage | Image | |
return | void |