导航:  GdiPlus Classes > GdiPlus Classes > CGpCustomLineCap Class > CustomLineCap Object >

Constructor

上一页返回章节概述下一页

描述

 

创建一个CustomLineCap对象.

 

C++ Syntax

 

CustomLineCap(

[in]  const GraphicsPath *fillPath,

[in]  const GraphicsPath *strokePath,

[in]  LineCap baseCap,

[in]  REAL baseInset

);

 

FreeBASIC 语法

 

CONSTRUCTOR CGpCustomLineCap ( _

   BYVAL pFillPath AS CGpGraphicsPath PTR, _

   BYVAL pStrokePath AS CGpGraphicsPath PTR, _

   BYVAL baseCap AS LineCap = LinecapFLat, _

   BYVAL baseInset AS SINGLE = 0.0 _

)

 

参数

 

pFillPath

 

[in]指向路径.

 

pStrokePath

 

[in]指向路径.

 

baseCap

 

[in],可选].该LineCap指定线帽,将元.默认值是LineCapFlat.

 

baseInset

 

[in, optional]默认值是0.0.

 

备注

 

fillPathstrokePath参数不能同时使用.你应该把NULL到这两个参数.如果你通过非空值的参数,然后fillPath被忽略.

 

CustomLineCap类使用缠绕填充方式无论是对过去的CustomLineCap构造函数的GraphicsPath对象的填充模式.

 

引用文件

 

CGpLineCaps.inc (include CGdiPlus.inc)