Esempio n. 1
0
        internal ShapeLayer(LottieDrawable lottieDrawable, Layer layerModel) : base(lottieDrawable, layerModel)
        {
            var shapeGroup = new ShapeGroup(layerModel.Name, layerModel.Shapes);

            _contentGroup = new ContentGroup(lottieDrawable, this, shapeGroup);
            _contentGroup.SetContents(new List <IContent>(), new List <IContent>());
        }
Esempio n. 2
0
 public void SetContents(IList <IContent> contentsBefore, IList <IContent> contentsAfter)
 {
     _contentGroup.SetContents(contentsBefore, contentsAfter);
 }