Clips child content to a height range relative to its own width. Use min and max to bound the box proportions. Set both to the same value to force an exact aspect ratio.
Input
application/jsonchildren
unknown
Required
No description available.
max
ref#aspectRatio
Optional
Maximum box proportions (tallest allowed shape). E.g. {width:1, height:2} means at most twice as tall as wide.
min
ref#aspectRatio
Optional
Minimum box proportions (shortest allowed shape). E.g. {width:1, height:1} means at least as tall as wide.
Output
application/jsonTry It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"children"
],
"properties": {
"max": {
"ref": "#aspectRatio",
"type": "ref",
"description": "Maximum box proportions (tallest allowed shape). E.g. {width:1, height:2} means at most twice as tall as wide."
},
"min": {
"ref": "#aspectRatio",
"type": "ref",
"description": "Minimum box proportions (shortest allowed shape). E.g. {width:1, height:1} means at least as tall as wide."
},
"children": {
"type": "unknown"
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"ref": "at.inlay.defs#response",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Clips child content to a height range relative to its own width. Use min and max to bound the box proportions. Set both to the same value to force an exact aspect ratio."
}