コード例 #1
0
		/// <summary>
		/// Constructor that initializes the <see cref="NormalizedRectangle"/> and <see cref="AnnotationItem"/> properties.
		/// </summary>
		/// <exception cref="ArgumentException">Thrown when the input <paramref name="normalizedRectangle"/> is not normalized.</exception>
		public AnnotationBox(RectangleF normalizedRectangle, IAnnotationItem annotationItem)
		{
			this.NormalizedRectangle = normalizedRectangle;
			_annotationItem = annotationItem;
		}
コード例 #2
0
ファイル: AnnotationBox.cs プロジェクト: top501/GoldenEagle
 /// <summary>
 /// Constructor that initializes the <see cref="NormalizedRectangle"/> and <see cref="AnnotationItem"/> properties.
 /// </summary>
 /// <exception cref="ArgumentException">Thrown when the input <paramref name="normalizedRectangle"/> is not normalized.</exception>
 public AnnotationBox(RectangleF normalizedRectangle, IAnnotationItem annotationItem)
 {
     this.NormalizedRectangle = normalizedRectangle;
     _annotationItem          = annotationItem;
 }