Skip to content

Home › Overview › ink

distribute ​

Distributes fixed and fractional lengths to a container length.

Types ​

Length type ​

luau
type Length = number | { read fr: number }

Functions ​

distribute ​

luau
distribute(container_length: number, lengths: { Length }, gap: number?): { number }