public LottieCustomDrawOp(LottieCanvas lottieCanvas, CompositionLayer compositionLayer, Rect destRect, Matrix matrix) { _lottieCanvas = lottieCanvas; _compositionLayer = compositionLayer; _destRect = destRect; _matrix = matrix; }
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); }
public abstract IBrush Apply(LottieCanvas dst, IBrush brush);
public override void DrawLayer(LottieCanvas canvas, Matrix parentMatrix, byte parentAlpha) { // Do nothing. }
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); }