< Back

Add-PIPRoundedCorners

Sat Jan 18, 2020 6:50 pm

NAME Add-PIPRoundedCorners



SYNOPSIS

Adds rounded corners to the current image.





SYNTAX

Add-PIPRoundedCorners [-InputObject] <ImageFactory> [[-Radius] <Int32>] [[-BackgroundColor] <Color>] [-TopLeft]

[-TopRight] [-BottomLeft] [-BottomRight] [<CommonParameters>]





DESCRIPTION

Adds rounded corners to the current image.





PARAMETERS

-InputObject <ImageFactory>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Radius <Int32>

The radius at which the corner will be rounded.



Required? false

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-BackgroundColor <Color>

The System.Drawing.Color to set as the background color. Used primarily for image formats that do not support

transparency.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TopLeft [<SwitchParameter>]

A value indicating whether top left corners are to be added.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-TopRight [<SwitchParameter>]

A value indicating whether top right corners are to be added.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-BottomLeft [<SwitchParameter>]

A value indicating whether bottom left corners are to be added.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-BottomRight [<SwitchParameter>]

A value indicating whether bottom right corners are to be added.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

ImageProcessor.ImageFactory





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-ImageStream Capture.png | Add-PIPRoundedCorners















RELATED LINKS