Class MaskEffect

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    Mask effect of a View.

    note

    MaskEffect uses the target's camera to render both target and source.
    To apply the mask correctly, align the source's size and position with the target.
    Use 'targetMaskOnce' / 'sourceMaskOnce' to skip re-rendering static inputs.

    Applications can apply MaskEffect as the example below :
    MaskEffect effect = new MaskEffect();
    view.SetRenderEffect(effect);
    public class MaskEffect : RenderEffect, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    RenderEffect
    MaskEffect
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Properties

    View Source

    SourceMaskOnce

    The property determines whether the source should be rendered once or every frame.

    Declaration
    public bool SourceMaskOnce { get; set; }
    Property Value
    Type Description
    bool
    View Source

    TargetMaskOnce

    The property determines whether the target should be rendered once or every frame.

    Declaration
    public bool TargetMaskOnce { get; set; }
    Property Value
    Type Description
    bool

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX