/// <summary> /// Gets the shape hit position /// </summary> /// <param name="point">Point to check</param> /// <returns></returns> public override HitPositions HitTest(Point point) { float width = Dimension.Width; float height = Dimension.Height; if (width == 1 || height == 1) { using (Pen pen = new Pen(Color.Black, Appearance.GrabberDimension)) { if (Geometric.IsOutlineVisible(point, pen)) { return(HitPositions.Center); } } } return(base.HitTest(point)); }