protected void PushClipPath(SKPath path, int clipBehavior) { // FML_DCHECK(clip_behavior != flow::Clip::none); var layer = new ClipPathLayer((Flow.Layers.Clip)clipBehavior); layer.set_clip_path(path); PushLayer(layer); }
public Layer pushClipPath(Path clipPath) { var layer = new ClipPathLayer(); layer.clipPath = clipPath; this._pushLayer(layer); return(layer); }