Overview
Sources
Libraries
Images API

Round Radius round-radius

Specifies the corners radius when shape=round parameter is used.

Values

This parameter accepts integer values in the range 0 to 100 with 0 disabling round shape mask:

  • 1: minimum round radius making the shape mask similar to a box.
  • 100: maximum round radius making the shape mask similar to ellipse value.

The default value for this parameter is 20.

Examples

If not round-radius parameter is specified a radius of 20 is used by default:

GET
https://assets.imglab-cdn.net/woman-03.jpeg?shape=round
Woman posing with a round shape mask applied and a default round radius of 20.
x px

In this example we are using a round-radius with a value of 60 using round-radius=60 parameter:

GET
https://assets.imglab-cdn.net/woman-03.jpeg?shape=round&round-radius=60
Woman posing with a round shape mask applied and a round radius of 60.
x px

Using a round-radius=100 parameter will generate a shape mask similar to ellipse shape:

GET
https://assets.imglab-cdn.net/woman-03.jpeg?shape=round&round-radius=100
Woman posing with a round shape mask applied and a round radius of 100.
x px