System::Drawing::Drawing2D::CustomLineCap::CustomLineCap 构造函数

CustomLineCap::CustomLineCap constructor

构造一个新的 CustomLineCap 类实例,该实例表示具有指定属性的用户定义线帽。

System::Drawing::Drawing2D::CustomLineCap::CustomLineCap(const SharedPtr<GraphicsPath> &fillPath, const SharedPtr<GraphicsPath> &strokePath, LineCap baseCap=LineCap::Flat, float baseInset=0)
参数类型描述
fillPathconst SharedPtr<GraphicsPath>&指定自定义帽的填充
strokePathconst SharedPtr<GraphicsPath>&指定自定义帽的轮廓
baseCapLineCap创建自定义帽的基础线帽
baseInsetfloat指定线条与帽之间的距离

另见