div-border
Stroke around the element.
Parameters
Parameters | Description |
---|---|
corner_radius |
int One radius of element and stroke corner rounding. Has a lower priority than Restriction for the value |
corners_radius |
object Multiple radii of element and stroke corner rounding. The value has the type |
has_shadow |
bool_int Adding shadow. Default value: |
shadow |
object Parameters of the shadow applied to the element stroke. The value has the type |
stroke |
object Stroke style. The value has the type |
JSON
{
corner_radius: "int",
corners_radius: {
bottom-left: "int",
bottom-right: "int",
top-left: "int",
top-right: "int"
},
has_shadow: "bool_int",
shadow: {
alpha: "number",
blur: "int",
color: "string",
offset*: {
x*: {
unit: "string",
value*: "number"
},
y*: {
unit: "string",
value*: "number"
}
}
},
stroke: {
color*: "string",
unit: "string",
width: "number"
}
}