LineArrowAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

The LineArrowAnnotation provides a Line with X1,Y1,X2,Y2 coordinates and an arrow head at the tip.

继承自: LineAnnotationBase

构造函数

LineArrowAnnotation()

Initializes a new instance of the LineArrowAnnotation class.

属性

HeadLength : double

Gets or sets the Head Length in pixels. Change this along with HeadWidth to make the line-arrow head larger or smaller

HeadWidth : double

Gets or sets the Head Length in pixels. Change this along with HeadLength to make the line-arrow head larger or smaller

方法

IsPointWithinBounds(Point) : bool

Returns true if the Point is within the bounds of the current IHitTestable element

point
The point to test

返回值: true if the Point is within the bounds

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.

字段

HeadLengthProperty : DependencyProperty

Defines the HeadLength DependencyProperty

HeadWidthProperty : DependencyProperty

Defines the HeadWidth DependencyProperty