public void pushOpacity(int alpha) { var layer = new OpacityLayer(); layer.alpha = alpha; this._pushLayer(layer); }
public void PushOpacity(int alpha, double dx = 0, double dy = 0) { var layer = new OpacityLayer(); layer.set_alpha(alpha); layer.set_offset(new SKPoint((float)dx, (float)dy)); PushLayer(layer); }
public Layer pushOpacity(int alpha, Offset offset = null) { offset = offset ?? Offset.zero; var layer = new OpacityLayer(); layer.alpha = alpha; layer.offset = offset; this._pushLayer(layer); return(layer); }