LineArrowAnnotation
A LineArrowAnnotation fornece uma linha com coordenadas X1,Y1,X2,Y2 e uma cabeça de seta na ponta.
Herda de: LineAnnotationBase
Construtores
public LineArrowAnnotation()
lineArrowAnnotation = LineArrowAnnotation()
Inicializa uma nova instância da classe LineArrowAnnotation.
Propriedades
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
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
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
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
public static readonly DependencyProperty HeadLengthProperty
value = LineArrowAnnotation.HeadLengthProperty
Define HeadLength DependencyProperty @
public static readonly DependencyProperty HeadWidthProperty
value = LineArrowAnnotation.HeadWidthProperty
Define HeadWidth DependencyProperty @