Exemplo n.º 1
0
        public BackdropFilterEngineLayer pushBackdropFilter(
            ImageFilter filter,
            BackdropFilterEngineLayer oldLayer = null)
        {
            D.assert(_debugCheckCanBeUsedAsOldLayer(oldLayer, "pushBackdropFilter"));
            BackdropFilterEngineLayer layer = new BackdropFilterEngineLayer(SceneBuilder_pushBackdropFilter(_ptr, filter._toNativeImageFilter()._ptr));

            D.assert(_debugPushLayer(layer));
            return(layer);
        }
Exemplo n.º 2
0
        public ImageFilterEngineLayer pushImageFilter(ImageFilter imageFilter, ImageFilterEngineLayer oldLayer = null)
        {
            D.assert(_debugCheckCanBeUsedAsOldLayer(oldLayer, "pushImageFilter"));
            ImageFilterEngineLayer layer = new ImageFilterEngineLayer(SceneBuilder_pushImageFilter(_ptr, imageFilter._toNativeImageFilter()._ptr));

            return(layer);
        }