LineArrowAnnotation
StockSharp.Xaml.Charting.Visuals.Annotations
LineArrowAnnotation は、X1、Y1、X2、Y2 座標、矢印ヘッドを先端に合わせ、ラインをX1、Y1、X2、Y2 座標、および矢印ヘッドを先端に供給します。
継承元: LineAnnotationBase
コンストラクター
LineArrowAnnotation
public LineArrowAnnotation()
lineArrowAnnotation = LineArrowAnnotation()
LineArrowAnnotationクラスの新しいインスタンスを初期化します。
プロパティ
HeadLength
public double HeadLength { get; set; }
value = lineArrowAnnotation.HeadLength
lineArrowAnnotation.HeadLength = value
ピクセルでヘッド長をゲットまたはセットします。この設定はHeadWidthで変更して、ライン矢印のヘッドを大きくまたは小さくします。
HeadWidth
public double HeadWidth { get; set; }
value = lineArrowAnnotation.HeadWidth
lineArrowAnnotation.HeadWidth = value
ピクセルでヘッド長をゲットまたはセットします。この設定はHeadLengthで変更して、ライン矢印のヘッドを大きくまたは小さくします。
メソッド
IsPointWithinBounds
public override bool IsPointWithinBounds(Point point)
result = lineArrowAnnotation.IsPointWithinBounds(point)
ポイントが現在のIHitTestable要素の境界内にある場合は、trueを返します
- point
- 試験のポイント
戻り値: ポイントが境界内にある場合 true
OnApplyTemplate
public override void OnApplyTemplate()
lineArrowAnnotation.OnApplyTemplate()
派生クラスに上書きする場合は、アプリケーションコードや内部プロセスがApplyTemplate@に電話する時に呼び出されます。
フィールド
HeadLengthProperty
public static readonly DependencyProperty HeadLengthProperty
value = LineArrowAnnotation.HeadLengthProperty
電子メール:HeadLengthDependencyProperty@
HeadWidthProperty
public static readonly DependencyProperty HeadWidthProperty
value = LineArrowAnnotation.HeadWidthProperty
電子メール:HeadWidthDependencyProperty@