FORUMS: list search recent posts

Adding a fill to a shape layer.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
hugo tait
Adding a fill to a shape layer.
on Dec 27, 2013 at 12:12:16 pm

What is the syntax for adding a fill to a shape layer? I haven't been able to find it anywhere.


Return to posts index


Xavier Gomez
Re: Adding a fill to a shape layer.
on Dec 30, 2013 at 1:32:45 pm
Last Edited By Xavier Gomez on Dec 30, 2013 at 1:34:20 pm

shapeLayer.content.addProperty("ADBE Vector Graphic - Fill");

if you want to add a fill inside a group, it is likewise:
group.content.addProperty("ADBE Vector Graphic - Fill");
where group is a propertyGroup with matchName : "ADBE Vector Group" (one that can accept new content).

Xavier.


Return to posts index

hugo tait
Re: Adding a fill to a shape layer.
on Jan 3, 2014 at 11:54:09 pm

Thank you.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]