AnnotationPathPoint 类

定义

表示 PolylineAnnotationPolygonAnnotation 的一个路径点,该路径点存储在其 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
继承
AnnotationPathPoint

注解

在运行时,使用 PolylineAnnotation.GraphicsPathPolygonAnnotation 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)

使用指定的 xy 值初始化 AnnotationPathPoint 类的新实例。Initializes a new instance of the AnnotationPathPoint class with the specified x and y values.

AnnotationPathPoint(Single, Single, Byte)

用指定的 xy 以及点的 type 值初始化 AnnotationPathPoint 类的新实例。Initializes a new instance of the AnnotationPathPoint class with the specified x, y and point type values.

属性

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 是否等于当前 ChartElementDetermines whether the specified Object is equal to the current ChartElement.

(继承自 ChartElement)
GetHashCode()

返回特定类型的哈希算法。Returns a hash function for a particular type.

(继承自 ChartElement)
GetType()

获取当前实例的 TypeGets 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)

适用于