コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: compositing.cs プロジェクト: zmtzawqlp/UIWidgets
        public Layer pushClipPath(Path clipPath)
        {
            var layer = new ClipPathLayer();

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