Stroke 成员

包括受保护的成员
包括继承的成员

包括 .NET Framework 成员
包括 .NET Compact Framework 成员
包括 XNA Framework 成员

更新:2007 年 11 月

表示单个墨迹笔画。笔画是数字化仪 捕获的一组属性和点数据,表示已知墨迹标记的坐标和属性。它是在单个笔向上、向下或移动序列中捕获的数据集。

Stroke 类型公开以下成员。

方法

  名称 说明
ms552721.pubmethod(zh-cn,VS.90).gif Clip 移除 Stroke 对象在给定矩形以外的部分。
ms552721.pubmethod(zh-cn,VS.90).gif Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
ms552721.protmethod(zh-cn,VS.90).gif Finalize 允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
ms552721.pubmethod(zh-cn,VS.90).gif FindIntersections 查找此 Stroke 对象与其他 Stroke 对象在给定 Strokes 集合中的交点。
ms552721.pubmethod(zh-cn,VS.90).gif GetBoundingBox 已重载。 返回包含 Stroke 对象的边框 Rectangle
ms552721.pubmethod(zh-cn,VS.90).gif GetFlattenedBezierPoints 已重载。 返回点的数组,这些点用于近似 Stroke 对象的贝塞尔曲线表示形式。
ms552721.pubmethod(zh-cn,VS.90).gif GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
ms552721.pubmethod(zh-cn,VS.90).gif GetPacketData 已重载。 返回与 Stroke 对象中一个或多个点关联的数据包 数据。
ms552721.pubmethod(zh-cn,VS.90).gif GetPacketDescriptionPropertyMetrics 返回给定数据包 说明类型的规格。
ms552721.pubmethod(zh-cn,VS.90).gif GetPacketValuesByProperty 已重载。 返回 Stroke 对象中一个或多个数据包的指定数据包 属性的数据。
ms552721.pubmethod(zh-cn,VS.90).gif GetPoint 返回 Stroke 对象中位于指定索引处的 Point 结构。
ms552721.pubmethod(zh-cn,VS.90).gif GetPoints 已重载。 返回构成 Stroke 对象的 Point 结构的数组。
ms552721.pubmethod(zh-cn,VS.90).gif GetRectangleIntersections 返回 StrokeIntersection 结构的数组,这些结构指示 Stroke 对象与给定 Rectangle 的相交位置。
ms552721.pubmethod(zh-cn,VS.90).gif GetType 获取当前实例的 Type。 (继承自 Object。)
ms552721.pubmethod(zh-cn,VS.90).gif HitTest 返回一个值,该值指示 Stroke 对象是否完全位于给定圆的内部或与其相交。
ms552721.protmethod(zh-cn,VS.90).gif MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
ms552721.pubmethod(zh-cn,VS.90).gif Move 将转换应用于 Stroke 对象的墨迹
ms552721.pubmethod(zh-cn,VS.90).gif NearestPoint 已重载。 返回 Stroke 对象上最接近指定 Point 的位置。
ms552721.pubmethod(zh-cn,VS.90).gif Rotate 使 Stroke 对象围绕中心点旋转。
ms552721.pubmethod(zh-cn,VS.90).gif Scale 在 X 和 Y 维度缩放 Stroke 对象。
ms552721.pubmethod(zh-cn,VS.90).gif ScaleToRectangle 根据指定的 Rectangle 结构缩放 Stroke 对象。
ms552721.pubmethod(zh-cn,VS.90).gif SetPacketValuesByProperty 已重载。 为 Stroke 对象中一个或多个数据包的指定数据包 属性设置数据。
ms552721.pubmethod(zh-cn,VS.90).gif SetPoint 设置 Stroke 对象中位于指定索引处的 Point 结构。
ms552721.pubmethod(zh-cn,VS.90).gif SetPoints 已重载。 设置 Stroke 对象中位于指定索引处的 Point 结构的数组。
ms552721.pubmethod(zh-cn,VS.90).gif Shear 按指定的水平和垂直因子修剪 Stroke 对象。
ms552721.pubmethod(zh-cn,VS.90).gif Split Stroke 对象的指定位置拆分 Stroke 对象,并返回新的 Stroke 对象。
ms552721.pubmethod(zh-cn,VS.90).gif ToString 返回表示当前 ObjectString。 (继承自 Object。)
ms552721.pubmethod(zh-cn,VS.90).gif Transform 已重载。 将线性变换应用于 Stroke 对象。

页首

属性

  名称 说明
ms552721.pubproperty(zh-cn,VS.90).gif BezierCusps 获取一个数组,该数组包含 Stroke 对象的贝塞尔曲线逼近的尖点的索引。
ms552721.pubproperty(zh-cn,VS.90).gif BezierPoints 获取表示笔画 的贝塞尔曲线逼近的控制点的数组。
ms552721.pubproperty(zh-cn,VS.90).gif Deleted 获取一个值,该值指示 Stroke 对象是否已从其父 Ink 对象中删除。
ms552721.pubproperty(zh-cn,VS.90).gif DrawingAttributes 获取或设置在绘制墨迹 时应用于该墨迹的绘制属性。
ms552721.pubproperty(zh-cn,VS.90).gif ExtendedProperties 获取应用程序定义的数据的集合。
ms552721.pubproperty(zh-cn,VS.90).gif Id 获取 Stroke 对象的标识符。
ms552721.pubproperty(zh-cn,VS.90).gif Ink 获取 Stroke 对象的父 Ink 对象。
ms552721.pubproperty(zh-cn,VS.90).gif PacketCount 获取为 Stroke 对象收到的数据包 的数目。
ms552721.pubproperty(zh-cn,VS.90).gif PacketDescription 获取类型 Guid 的数组,这些 Guid 描述存储在 Stroke 对象中的数据包 数据的类型。
ms552721.pubproperty(zh-cn,VS.90).gif PacketSize 获取数据包 的大小(以字节为单位)。
ms552721.pubproperty(zh-cn,VS.90).gif PolylineCusps 获取一个数组,该数组包含 Stroke 对象的尖点的索引。
ms552721.pubproperty(zh-cn,VS.90).gif SelfIntersections 获取 Stroke 对象的自交点。

页首

另请参见

参考

Stroke 类

Microsoft.Ink 命名空间