public void PositionAround(PolyLine pL) { var B = pL.GetBounds(); offset = new PointD(B.TopLeft.X - leftEdge - margin, B.TopLeft.Y - topEdge - margin); innerWidth = B.Width() + margin * 2; innerHeight = B.Height() + margin * 2; }
public void PositionAround(PolyLine pL) { var B = pL.GetBounds(); PositionAround(B); }