public override RectangleF ExpandPaintBounds(RectangleF rect, GoView view) { RectangleF a = RotateHelper.GetRotatedBounds(rect, Angle); float penWidth = PenWidth; GoObject.InflateRect(ref a, penWidth, penWidth); return(RectangleF.Union(rect, a)); }
public override bool ContainsPoint(PointF p) { return(base.ContainsPoint(RotateHelper.RotatePoint(p, base.Center, 0f - Angle))); }