Hello again, just figured I'd mention something I noticed while playing around:
It seems like both RectangleAnnotation and EllipseAnnotation aren't checking if they're selected and changing the fill colour if they are. Noticed the slight difference when reviewing the source if it helps (in each's render methods):
PolygonAnnotation:
and in PathAnnotation:
vs
RectangleAnnotation:
and in EllipseAnnotation:
Not sure if this is intended, but figured I'd point it out.
It seems like both RectangleAnnotation and EllipseAnnotation aren't checking if they're selected and changing the fill colour if they are. Noticed the slight difference when reviewing the source if it helps (in each's render methods):
PolygonAnnotation:
rc.DrawClippedPolygon( this.screenPoints, clipping, MinimumSegmentLength * MinimumSegmentLength, this.GetSelectableFillColor(this.Fill), this.GetSelectableColor(this.Color), this.StrokeThickness, this.LineStyle, this.LineJoin);
rc.DrawClippedLine( this.screenPoints, clippingRectangle, MinimumSegmentLength * MinimumSegmentLength, this.GetSelectableColor(this.Color), this.StrokeThickness, dashArray, this.LineJoin, this.aliased, null, clippedPoints.AddRange);
RectangleAnnotation:
rc.DrawClippedRectangle(this.screenRectangle, clipping, this.Fill, this.Stroke, this.StrokeThickness);
rc.DrawClippedEllipse(clipping, this.screenRectangle, this.Fill, this.Stroke, this.StrokeThickness);