LineArrowAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

A LineArrowAnnotation fornece uma linha com coordenadas X1,Y1,X2,Y2 e uma cabeça de seta na ponta.

Herda de: LineAnnotationBase

Construtores

LineArrowAnnotation
public LineArrowAnnotation()
lineArrowAnnotation = LineArrowAnnotation()

Inicializa uma nova instância da classe LineArrowAnnotation.

Propriedades

HeadLength
public double HeadLength { get; set; }
value = lineArrowAnnotation.HeadLength
lineArrowAnnotation.HeadLength = value

Obtém ou define o Comprimento da Cabeça em pixels. Altere isto juntamente com HeadWidth para tornar a cabeça da linha- seta maior ou menor

HeadWidth
public double HeadWidth { get; set; }
value = lineArrowAnnotation.HeadWidth
lineArrowAnnotation.HeadWidth = value

Obtém ou define o Comprimento da Cabeça em pixels. Altere isto juntamente com HeadLength para tornar a cabeça da linha- seta maior ou menor

Métodos

IsPointWithinBounds
public override bool IsPointWithinBounds(Point point)
result = lineArrowAnnotation.IsPointWithinBounds(point)

Retorna true se o Ponto estiver dentro dos limites do elemento IHitTestable atual

point
O ponto a testar

Retorna: verdadeiro se o Ponto estiver dentro dos limites

OnApplyTemplate
public override void OnApplyTemplate()
lineArrowAnnotation.OnApplyTemplate()

Quando substituído em uma classe derivada, é invocado sempre que o código de aplicação ou processos internos chamar ApplyTemplate.

Campos

HeadLengthProperty
public static readonly DependencyProperty HeadLengthProperty
value = LineArrowAnnotation.HeadLengthProperty

Define HeadLength DependencyProperty @

HeadWidthProperty
public static readonly DependencyProperty HeadWidthProperty
value = LineArrowAnnotation.HeadWidthProperty

Define HeadWidth DependencyProperty @