CustomLineCap

CustomLineCap(GraphicsPath, GraphicsPath)

初始化CustomLineCap具有指定轮廓和填充的类。

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath)
范围类型描述
fillPathGraphicsPath一个GraphicsPath定义自定义上限填充的对象。
strokePathGraphicsPath一个GraphicsPath定义自定义帽的轮廓的对象。

也可以看看


CustomLineCap(GraphicsPath, GraphicsPath, LineCap)

初始化CustomLineCap来自指定现有的类LineCap具有指定轮廓和填充的枚举。

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap)
范围类型描述
fillPathGraphicsPath一个GraphicsPath定义自定义上限填充的对象。
strokePathGraphicsPath一个GraphicsPath定义自定义帽的轮廓的对象。
baseCapLineCap用于创建自定义上限的线上限。

也可以看看


CustomLineCap(GraphicsPath, GraphicsPath, LineCap, float)

初始化CustomLineCap来自指定现有的类LineCap具有指定轮廓、填充和插图的枚举。

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, 
    float baseInset)
范围类型描述
fillPathGraphicsPath一个GraphicsPath定义自定义上限填充的对象。
strokePathGraphicsPath一个GraphicsPath定义自定义帽的轮廓的对象。
baseCapLineCap用于创建自定义上限的线上限。
baseInsetSingle帽与线之间的距离。

也可以看看