ImageGear .NET v25.2 - Updated
ImageGear.Processing.Advanced Assembly / ImageGear.Processing Namespace / ImGearEffects Class / RoundCorners Method
Page to round the corners of.
Specifies the radius for rounding.
Specifies the fill color for the corners.




In This Topic
    RoundCorners Method
    In This Topic
    This method rounds the corners of the image and fills them with a specified color.
    Syntax
    'Declaration
     
    Public Shared Sub RoundCorners( _
       ByVal page As ImGearRasterPage, _
       ByVal radius As Integer, _
       ByVal fillColor As ImGearPixel _
    ) 
    'Usage
     
    Dim page As ImGearRasterPage
    Dim radius As Integer
    Dim fillColor As ImGearPixel
     
    ImGearEffects.RoundCorners(page, radius, fillColor)
    public static void RoundCorners( 
       ImGearRasterPage page,
       int radius,
       ImGearPixel fillColor
    )
    public: static void RoundCorners( 
       ImGearRasterPage* page,
       int radius,
       ImGearPixel* fillColor
    ) 
    public:
    static void RoundCorners( 
       ImGearRasterPage^ page,
       int radius,
       ImGearPixel^ fillColor
    ) 

    Parameters

    page
    Page to round the corners of.
    radius
    Specifies the radius for rounding.
    fillColor
    Specifies the fill color for the corners.
    See Also