Class Extents

    Definition

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

    Extents class describing the a collection of uint16_t.

    public class Extents : Disposable, ICloneable
    Inheritance
    object
    Disposable
    Extents
    Implements
    ICloneable

    Constructors

    View Source

    Extents()

    Default constructor of Extents class.

    Declaration
    public Extents()
    View Source

    Extents(ushort, ushort, ushort, ushort)

    Constructor.

    The start extent value horizontally. The end extent value horizontally. The top extent value vertically. The bottom extent value vertically.
    Declaration
    public Extents(ushort start, ushort end, ushort top, ushort bottom)
    Parameters
    Type Name Description
    ushort start
    ushort end
    ushort top
    ushort bottom
    View Source

    Extents(ExtentsChangedCallback, ushort, ushort, ushort, ushort)

    Constructor

    Declaration
    public Extents(Extents.ExtentsChangedCallback cb, ushort start, ushort end, ushort top, ushort bottom)
    Parameters
    Type Name Description
    Extents.ExtentsChangedCallback cb
    ushort start

    The start extent value horizontally.

    ushort end

    The end extent value horizontally.

    ushort top

    The top extent value vertically.

    ushort bottom

    The bottom extent value vertically.

    View Source

    Extents(Extents)

    Constructor.

    Declaration
    public Extents(Extents copy)
    Parameters
    Type Name Description
    Extents copy

    A reference to the copied Extents.

    Fields

    View Source

    Zero

    Extents with all zero values.

    Declaration
    public static readonly Extents Zero
    Field Value
    Type Description
    Extents

    Properties

    View Source

    Bottom

    The Bottom Extend.

    Declaration
    public ushort Bottom { get; set; }
    Property Value
    Type Description
    ushort
    Remarks

    The setter is deprecated in API8 and will be removed in API10. Use new Extents(...) constructor.

    View Source

    End

    The End extend.

    Declaration
    public ushort End { get; set; }
    Property Value
    Type Description
    ushort
    Remarks

    The setter is deprecated in API8 and will be removed in API10. Use new Extents(...) constructor.

    View Source

    Start

    The Start extent.

    Declaration
    public ushort Start { get; set; }
    Property Value
    Type Description
    ushort
    Remarks

    The setter is deprecated in API8 and will be removed in API10. Ue new Extents(...) constructor.

    View Source

    Top

    The Top extend.

    Declaration
    public ushort Top { get; set; }
    Property Value
    Type Description
    ushort
    Remarks

    The setter is deprecated in API8 and will be removed in API10. Use new Extents(...) constructor.

    Methods

    View Source

    Clone()

    Declaration
    public object Clone()
    Returns
    Type Description
    object
    View Source

    CopyFrom(Extents)

    Copy other extents

    Declaration
    public void CopyFrom(Extents that)
    Parameters
    Type Name Description
    Extents that
    View Source

    EqualTo(Extents)

    Equality operator.

    Declaration
    public bool EqualTo(Extents rhs)
    Parameters
    Type Name Description
    Extents rhs

    The Extents to test against.

    Returns
    Type Description
    bool

    True if the extents are not equal.

    View Source

    NotEqualTo(Extents)

    Inequality operator.

    Declaration
    public bool NotEqualTo(Extents rhs)
    Parameters
    Type Name Description
    Extents rhs

    The Extents to test against.

    Returns
    Type Description
    bool

    True if the extents are not equal.

    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    Disposable.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

    Operators

    View Source

    implicit operator Extents(ushort)

    The type cast operator, ushort to Extents.

    Declaration
    public static implicit operator Extents(ushort value)
    Parameters
    Type Name Description
    ushort value

    A value of ushort type.

    Returns
    Type Description
    Extents

    return a Extents instance

    Implements

    ICloneable

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    GraphicsTypeExtensions.DpToPx(Extents)
    GraphicsTypeExtensions.PxToDp(Extents)
    GraphicsTypeExtensions.PxToSdp(Extents)
    GraphicsTypeExtensions.PxToSp(Extents)
    GraphicsTypeExtensions.SdpToPx(Extents)
    GraphicsTypeExtensions.SpToPx(Extents)
    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