/// <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; }
/// <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; }