org.atsui.Clip

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.

Repository @atsui.org did:plc:e4fjueijznwqm2yxvt7q4mba namespace authority
Details · procedure
Kindprocedure
Authorityatsui.org
Indexed

Procedure

procedure · POST

Input

application/json

children

requiredunknown

max

ref

Maximum box proportions (tallest allowed shape). E.g. {width:1, height:2} means at most twice as tall as wide.

Reference

min

ref

Minimum box proportions (shortest allowed shape). E.g. {width:1, height:1} means at least as tall as wide.

Reference

Output

application/json

#aspectRatio

object

Properties

height

requiredinteger
  • minimum: 1

width

requiredinteger
  • minimum: 1