AnnotationPathPoint 类
定义
表示 PolylineAnnotation 或 PolygonAnnotation 的一个路径点,该路径点存储在其 PathPoints 属性中。Represents a path point of a PolylineAnnotation or PolygonAnnotation, which is stored in their PathPoints property.
public ref class AnnotationPathPoint : System::Windows::Forms::DataVisualization::Charting::ChartElement
public class AnnotationPathPoint : System.Windows.Forms.DataVisualization.Charting.ChartElement
type AnnotationPathPoint = class
inherit ChartElement
Public Class AnnotationPathPoint
Inherits ChartElement
- 继承
注解
在运行时,使用 PolylineAnnotation.GraphicsPath 或 PolygonAnnotation GraphicsPath 属性设置折线或多边形的路径。At run time, use the PolylineAnnotation.GraphicsPath or PolygonAnnotation.GraphicsPath property to set the path of a polyline or polygon.
构造函数
| AnnotationPathPoint() |
初始化 AnnotationPathPoint 类的新实例。Initializes a new instance of the AnnotationPathPoint class. |
| AnnotationPathPoint(Single, Single) |
使用指定的 |
| AnnotationPathPoint(Single, Single, Byte) |
用指定的 |
属性
| Name |
获取批注的路径点的名称。Gets the name for the path point of an annotation. |
| PointType |
获取或设置批注的路径点的类型。Gets or sets the type for the path point of an annotation. |
| Tag |
获取或设置与此图表元素关联的对象。Gets or sets an object associated with this chart element. (继承自 ChartElement) |
| X |
获取或设置批注的路径点的 X 坐标。Gets or sets the X coordinate for the path point of an annotation. |
| Y |
获取或设置批注的路径点的 Y 坐标。Gets or sets the Y coordinate for the path point of an annotation. |
方法
| Dispose() |
释放由 ChartElement 占用的资源。Releases the resources used by the ChartElement. (继承自 ChartElement) |
| Dispose(Boolean) |
释放由 ChartElement 占用的非托管资源,还可以另外再释放托管资源。Releases the unmanaged resources used by the ChartElement and optionally releases the managed resources. (继承自 ChartElement) |
| Equals(Object) |
确定指定的 Object 是否等于当前 ChartElement。Determines whether the specified Object is equal to the current ChartElement. (继承自 ChartElement) |
| GetHashCode() |
返回特定类型的哈希算法。Returns a hash function for a particular type. (继承自 ChartElement) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前 Object 的字符串。Returns a string that represents the current Object. (继承自 ChartElement) |