点击或拖拽改变大小

GraphicsPathHelperCreatePath 方法

建立带有圆角样式的路径。

命名空间:  DSkin.Common
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public static GraphicsPath CreatePath(
	Rectangle rect,
	int radius,
	RoundStyle style,
	bool correction
)

参数

rect
类型:System.DrawingRectangle
用来建立路径的矩形。
radius
类型:SystemInt32
圆角的大小。
style
类型:DSkin.CommonRoundStyle
圆角的样式。
correction
类型:SystemBoolean
是否把矩形长宽减 1,以便画出边框。

返回值

类型:GraphicsPath
建立的路径。
参见