예제 #1
0
 public LottieCustomDrawOp(LottieCanvas lottieCanvas, CompositionLayer compositionLayer, Rect destRect,
                           Matrix matrix)
 {
     _lottieCanvas     = lottieCanvas;
     _compositionLayer = compositionLayer;
     _destRect         = destRect;
     _matrix           = matrix;
 }
예제 #2
0
 public override IBrush Apply(LottieCanvas dst, IBrush brush)
 {
     //var originalColor = Colors.White;
     //if (brush is CompositionColorBrush compositionColorBrush)
     //    originalColor = compositionColorBrush.Color;
     //TODO: passthrough the color filters for now.
     return(brush);
 }
예제 #3
0
 public abstract IBrush Apply(LottieCanvas dst, IBrush brush);
예제 #4
0
 public override void DrawLayer(LottieCanvas canvas, Matrix parentMatrix, byte parentAlpha)
 {
     // Do nothing.
 }
예제 #5
0
 public override void DrawLayer(LottieCanvas canvas, Matrix parentMatrix, byte parentAlpha)
 {
     _contentGroup.Draw(canvas, parentMatrix, parentAlpha);
 }
 public override IBrush Apply(LottieCanvas dst, IBrush brush)
 {
     // TODO: Passthrough color filter for now
     return(brush);
 }