コンテンツにスキップ

Bounding Box Constraint

Shape を他の Shape のバウンディングボックスに拘束します。

Input Shape - バウンディングボックスをサンプリングする Shape を接続します。

Width - 値 0 で Input Shape のバウンディングボックスの左端に、値 100 で右端に固定します。

Height - 値 0 で Input Shape のバウンディングボックスの下端に、値 100 で上端に固定します。

Offset - 出力に [x, y] 値を加算/減算します。

Out Position [読み取り専用] - レイヤーが出力している [x, y] 値を表示します。Id 接続は x と y の両方の位置を組み合わせますが、この属性では個別の [x, y] 属性を他のレイヤーに接続できます。

  1. 2 つの Shapes を作成します。
  2. Bounding Box Constraint を作成します。
  3. shape1.id→boundingBoxConstraint.inputShape を接続します。
  4. boundingBoxConstraint.id→shape2.position を接続します。
  5. Bounding Box Constraint の Width を 0 に設定します。

Shape 2Shape 1 のバウンディングボックスの左端に拘束されます。