StrokeIntersection 构造函数
根据起始索引和结束索引初始化 StrokeIntersection 结构的新实例。
命名空间: Microsoft.Ink
程序集: Microsoft.Ink(在 Microsoft.Ink.dll 中)
语法
声明
Public Sub New ( _
beginIndex As Single, _
endIndex As Single _
)
用法
Dim beginIndex As Single
Dim endIndex As Single
Dim instance As New StrokeIntersection(beginIndex, _
endIndex)
public StrokeIntersection(
float beginIndex,
float endIndex
)
public:
StrokeIntersection(
float beginIndex,
float endIndex
)
public StrokeIntersection(
float beginIndex,
float endIndex
)
public function StrokeIntersection(
beginIndex : float,
endIndex : float
)
参数
- beginIndex
类型:System.Single
笔画相交段的起点,以浮点索引表示。
- endIndex
类型:System.Single
笔画相交段的终点,以浮点索引表示。
备注
浮点索引是一个浮点值,表示笔画中两点之间的某个位置。例如,如果 0.0 是笔画中的第一个点,而 1.0 是笔画中的第二个点,则 0.5 位于第一个点和第二个点的正中间。与之类似,浮点索引值 37.25 表示位于笔画点 37 和 38 之间连线的 25% 的位置。
示例
此 C# 示例声明并创建一个 StrokeIntersection 结构 theStrokeIntersection。
StrokeIntersection theStrokeIntersection = new StrokeIntersection(start, end);
此 Microsoft(R) Visual Basic(R) .NET 示例声明并创建一个 StrokeIntersection 结构 theStrokeIntersection。
Dim theStrokeIntersection As New StrokeIntersection(start, end)
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0