Skip to content

Latest commit

 

History

History
72 lines (66 loc) · 2.37 KB

composition_filters.md

File metadata and controls

72 lines (66 loc) · 2.37 KB

Composition filters

All composition filters have the same props

prop type default desc
dstImage Filterable - required
dstTransform Transform
{ anchor: { x: 0.5, y: 0.5 },
  translate: { x: 0.5, y: 0.5 },
  scale: 'COVER',
  rotate: 0 }
srcImage Filterable - required
srcTransform Transform
{ anchor: { x: 0.5, y: 0.5 },
  translate: { x: 0.5, y: 0.5 },
  scale: 'COVER',
  rotate: 0 }
resizeCanvasTo 'dstImage' | 'srcImage' - can be used when one image is created by a Generator to specify that canvas size is equal to another image size