跳转到内容

Layout Shape

这是一个已弃用的功能。请参见 Layouts 获取替代功能。

当你将 Shapes 添加到 Layout Shape 时,Shapes 会彼此相邻堆叠(垂直、水平或网格形式)。Layout Shape 的大小由其中 Shapes 的总大小决定。结果是,当你动画包含在 Layout Shape 中的 Shape 时,其他 Shapes 会相对它移动。

Common Attributes +

Layout - 选择 Shapes 的布局方式:

Size - 设置 Layout Shape 的尺寸。默认情况下,此属性连接到 Composition 的 Resolution 属性。要手动设置此值,请删除此连接。

Add Spacer - Spacers 可用于在 Layout 中创建间隙或空白单元格。

Layout Items - 将 Shapes 拖放或连接到此区域。Layout Items 列表中还有更多选项。根据所选的 Layout 模式,这些选项会有所不同:

  • - 切换 Shape 是否出现在 Layout 中。
  • Settings
    • Grid Layout
      • Column Span - 设置 Shape 跨越的列数。设置为 2 意味着 Shape 将被放置在一个 2 列宽的单元格中。
      • Row Span - 设置 Shape 跨越的行数。设置为 2 意味着 Shape 将被放置在一个 2 行高的单元格中。
      • Fixed Position - 为 Shape 设置固定的单元格位置。
      • Position - 为 Shape 设置一个单元格位置。例如,值 2, 2 将把 Shape 定位在第二列第二行。
    • Horizontal Layout
      • Baseline - 将 Shapes 放置在基线上。这对于对齐 Text 和 Shapes 很有用。
      • Vertical Alignment - 设置 Shape 在其单元格内的垂直对齐方式。
    • Vertical Layout
      • Horizontal Alignment - 设置 Shape 在其单元格内的水平对齐方式。
  • - 从 Layout Items 中移除 Shape。