Paste Canvas Layer/ru

From Synfig Studio :: Documentation
Jump to: navigation, search
Languages Language: 

English • Español • Italiano • Română • Русский

Layer other pastecanvas icon.png

Слой-холст - специальный слой, который может группировать другие слои. Создать его можно с помощью команды Изолировать либо через контекстное меню в панели слоев либо через меню слоев в меню холста. Сгруппированными слоями можно манипулировать как вместе, так и каждым в отдельности: перемещать, масштабировать и т.д.

Слой-холст также может быть создан через New Layer Menu, выберите New Layer > Other > Paste Canvas.

Слой-холст обладает следующими параметрами:

Canvas Parameter

Type canvas icon.png

Параметр Холст представлет собой выпадающий список, содержащий все подключенные холстов и специальный пункт "Other...". Выбрав который, можно ввести имя желаемого холста. Имя подчиняется следующему формату (где [ ] означает необязательный элемент, ( ) - группировка, и * значит "0 или несколько раз"):

  [[filename]#][:]id(:id)*

In its simplest form, this is just an id, ie. the exported name of one of the child canvases of the current canvas.

Other possibilities are:

  • if a '#' is present, the part before the '#' is interpreted as the filename of an external .sif file to use.
  • if the '#' is the first character of the string (ie. the filename is blank) then the '#' is ignored, and the current canvas is used instead
  • if a ':' appears before the first id, it means to start at the root canvas of the current canvas
  • each subsequent :id steps down into the specified child

Examples:

  • /usr/share/doc/synfig/examples/business_card.sifz#:IndividualCard -- gives the absolute path to a .sifz file, and says to use the canvas that was exported from its root canvas as "IndividualCard"
  • ../../examples/business_card.sifz#:IndividualCard -- the same, but with a relative path to the .sifz file
  • #:sy:head:eyes:left -- look in the current composition, and starting from the root, navigate down through the canvas tree. Find a child canvas of the root canvas called 'sy', look in 'sy' for a child canvas called 'head', and so on.
  • :sy:head:eyes:left -- exactly as above. an empty filename is the same as not using the '#' at all
  • eyes:left -- without a ':' before the first id, this starts at the current canvas (presumably the PasteCanvas in question is in the "head" subcanvas of the "sy" subcanvas of the root)


Languages Language: 

English • Español • Italiano • Română • Русский

Personal tools
Documentation