Show / Hide Table of Contents

    Class ImageExtensions

    Inheritance
    System.Object
    ImageExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Tizen.UIExtensions.NUI
    Assembly: Tizen.UIExtensions.NUI.dll
    Syntax
    public static class ImageExtensions

    Methods

    GetAspect(NUI.BaseComponents.ImageView)

    Gets the scaling mode for the image.

    Declaration
    public static Aspect GetAspect(this NUI.BaseComponents.ImageView view)
    Parameters
    Type Name Description
    Tizen.NUI.BaseComponents.ImageView view

    Target view

    Returns
    Type Description
    Aspect

    A Aspect representing the scaling mode of the image.

    LoadAsync(NUI.BaseComponents.ImageView, Stream)

    Declaration
    public static Task<bool> LoadAsync(this NUI.BaseComponents.ImageView view, Stream stream)
    Parameters
    Type Name Description
    Tizen.NUI.BaseComponents.ImageView view
    System.IO.Stream stream
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    LoadAsync(NUI.BaseComponents.ImageView, String)

    Declaration
    public static Task<bool> LoadAsync(this NUI.BaseComponents.ImageView view, string file)
    Parameters
    Type Name Description
    Tizen.NUI.BaseComponents.ImageView view
    System.String file
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    LoadAsync(NUI.BaseComponents.ImageView, Uri)

    Declaration
    public static Task<bool> LoadAsync(this NUI.BaseComponents.ImageView view, Uri uri)
    Parameters
    Type Name Description
    Tizen.NUI.BaseComponents.ImageView view
    System.Uri uri
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    Measure(NUI.BaseComponents.ImageView, Double, Double)

    Measures the size of the control in order to fit it into the available area.

    Declaration
    public static Size Measure(this NUI.BaseComponents.ImageView view, double availableWidth, double availableHeight)
    Parameters
    Type Name Description
    Tizen.NUI.BaseComponents.ImageView view
    System.Double availableWidth

    Available width.

    System.Double availableHeight

    Available height.

    Returns
    Type Description
    Size

    Size of the control that fits the available area.

    SetAspect(NUI.BaseComponents.ImageView, Aspect)

    Sets the scaling mode for the image.

    Declaration
    public static void SetAspect(this NUI.BaseComponents.ImageView view, Aspect apect)
    Parameters
    Type Name Description
    Tizen.NUI.BaseComponents.ImageView view

    Target view

    Aspect apect

    A Aspect representing the scaling mode of the image.

    SetIsAnimationPlaying(NUI.BaseComponents.ImageView, Boolean)

    Set animation playing state

    Declaration
    public static void SetIsAnimationPlaying(this NUI.BaseComponents.ImageView view, bool value)
    Parameters
    Type Name Description
    Tizen.NUI.BaseComponents.ImageView view

    Image view

    System.Boolean value

    playing state

    Remarks

    Should be called after image loading

    Back to top Copyright © 2021 Samsung
    Generated by DocFX