跳到內容

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。