Returns the capsule (GraphicsPath) of a rectangle.
Declaration Syntax
C# | Visual Basic |
public static GraphicsPath GetCapsule( RectangleF baseRect )
Public Shared Function GetCapsule ( _ baseRect As RectangleF _ ) As GraphicsPath
Parameters
- baseRect (RectangleF)
- Rectangle
Return Value
Capsule (GraphicsPath)