AnchorPointAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

アンカーポイントのアノテーションは、X1、Y1ポイントのみのIAnnotationです。このアノテーションは、さまざまなアライメントを使用して、座標の周りに固定することができます。詳細については、HorizontalAnchorPointおよびVerticalAnchorPointプロパティを参照してください。

継承元: AnnotationBase

実装: IAnchorPointAnnotation, IAnnotation, IHitTestable, IPublishMouseEvents, IXmlSerializable

コンストラクター

AnchorPointAnnotation
protected AnchorPointAnnotation()
anchorPointAnnotation = AnchorPointAnnotation()

AnchorPointAnnotationクラスの新しいインスタンスを初期化します。

プロパティ

HorizontalAnchorPoint
public HorizontalAnchorPoint HorizontalAnchorPoint { get; set; }
value = anchorPointAnnotation.HorizontalAnchorPoint
anchorPointAnnotation.HorizontalAnchorPoint = value

取得または設定HorizontalAnchorPoint.左の値が、アノテーションのX1,Y1座標が水平方向に向いていることを意味します。センターの値は、アノテーションのX1,Y1座標が水平方向の中心にあることを意味します。 右側の値は、アノテーションのX1,Y1座標が水平方向に正しいことを意味します。

HorizontalOffset
public double HorizontalOffset { get; }
value = anchorPointAnnotation.HorizontalOffset

ピクセル内で HorizontalOffset を計算して配置するときにこのアノテーションを適用します。

VerticalAnchorPoint
public VerticalAnchorPoint VerticalAnchorPoint { get; set; }
value = anchorPointAnnotation.VerticalAnchorPoint
anchorPointAnnotation.VerticalAnchorPoint = value

取得または設定VerticalAnchorPoint. 値が上にあると、アノテーションのX1,Y1座標は上面にあることを意味します。センターの値は、アノテーションのX1,Y1座標が中心的にあることを意味します。 ボトム値は、アノテーションのX1,Y1座標が縦方向に表示されていることを意味します。

VerticalOffset
public double VerticalOffset { get; }
value = anchorPointAnnotation.VerticalOffset

ピクセル内で VerticalOffset を計算して配置するときにこのアノテーションを適用します。

メソッド

GetAnchorAnnotationCoordinates
protected AnnotationCoordinates GetAnchorAnnotationCoordinates(AnnotationCoordinates annotationCoordinates)
result = anchorPointAnnotation.GetAnchorAnnotationCoordinates(annotationCoordinates)

HorizontalOffsetとVerticalOffsetをannotationCoordinatesに申し込む

annotationCoordinates
GetSelectedCursor
protected override Cursor GetSelectedCursor()
result = anchorPointAnnotation.GetSelectedCursor()

選択した時に注釈に使用するCursorを取得します

フィールド

HorizontalAnchorPointProperty
public static readonly DependencyProperty HorizontalAnchorPointProperty
value = AnchorPointAnnotation.HorizontalAnchorPointProperty

電子メール:HorizontalAnchorPointDependencyProperty@

VerticalAnchorPointProperty
public static readonly DependencyProperty VerticalAnchorPointProperty
value = AnchorPointAnnotation.VerticalAnchorPointProperty

電子メール:VerticalAnchorPointPropertyDependencyProperty@