On this page@remotion/layout-utils v4.0.50 用于创建动态布局的实用函数。 🌐 Utility functions for creating dynamic layouts. npmpnpmyarnnpm i @remotion/layout-utilsCopypnpm i @remotion/layout-utilsCopyyarn add @remotion/layout-utilsCopy 函数 🌐 Functions measureText()Get dimensions of textfillTextBox()Find line breaks and overflows in a text boxfitText()Get font size to fit text in a boxfitTextOnNLines()Get font size to fit text on n lines 许可证 🌐 License MIT