Example #1
0
 protected virtual GraphicsPath CreateBorderRectPath(RectangleF innerBorderRect)
 {
     return(GraphicsPathHelper.CreateRoundedRectPath(innerBorderRect, (float)CornerRadius, (float)CornerRadius));
 }
Example #2
0
 protected GraphicsPath CreateRectanglePath(RectangleF rect)
 {
     return(GraphicsPathHelper.CreateRoundedRectPath(rect, (float)RadiusX, (float)RadiusY));
 }