Leadtools.Annotations.Designersアセンブリ > Leadtools.Annotations.Designers名前空間 > AnnEditDesignerクラス :GetRotationReferencePointsメソッド |
protected virtual LeadPointD[] GetRotationReferencePoints()
'Declaration
Protected Overridable Function GetRotationReferencePoints() As LeadPointD()
'Usage
Dim instance As AnnEditDesigner Dim value() As LeadPointD value = instance.GetRotationReferencePoints()
protected virtual LeadPointD[] GetRotationReferencePoints()
@property (nonatomic, strong, readonly, nullable) LTLeadPointCollection *rotationReferencePoints
protected LeadPointD[] getRotationReferencePoints()
function Leadtools.Annotations.Designers.AnnEditDesigner.GetRotationReferencePoints()
デフォルトで、AnnEditDesignerは、TargetObjectのAnnObject.Pointsコレクションで見つけられる最初の2つのポイントを返します。デザイナはこれらの基準点を使用して、オブジェクトを移動するときに回転中心点と回転グリップを均一な距離に維持します。
派生クラスは、基準点としての使い方にどんな2つのポイントでも返すために、GetRotationReferencePointsをオーバーライドすることができます。通常は、オブジェクトの左上隅と右下隅にある点を基準点とします。
詳細情報とサンプルについては、「LEADTOOLSアノテーションによる道具ユーザー定義のObjects」を参照してください。