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);
        }
Ejemplo n.º 2
0
        public Layer pushClipPath(Path clipPath)
        {
            var layer = new ClipPathLayer();

            layer.clipPath = clipPath;
            this._pushLayer(layer);
            return(layer);
        }