Struct UICorner

    Definition

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

    Defines a value type of corner radius.

    public struct UICorner : IEquatable<UICorner>
    Implements
    IEquatable<><UICorner>

    Constructors

    View Source

    UICorner(float, bool)

    Initializes a new instance of the UICorner struct.

    Declaration
    public UICorner(float uniform, bool isRelative)
    Parameters
    Type Name Description
    float uniform

    The uniform corner value.

    bool isRelative

    Whether the values should be considered as relative to target box size.

    View Source

    UICorner(float, float, float, float, bool)

    Initializes a new instance of the UICorner struct.

    Declaration
    public UICorner(float topLeft, float topRight, float bottomRight, float bottomLeft, bool isRelative)
    Parameters
    Type Name Description
    float topLeft

    The top-left value.

    float topRight

    The top-right value.

    float bottomRight

    The bottom-right value.

    float bottomLeft

    The bottom-left value.

    bool isRelative

    Whether the values should be considered as relative to target box size.

    View Source

    UICorner(float, float, float, float)

    Initializes a new instance of the UICorner struct.

    Declaration
    public UICorner(float topLeft, float topRight, float bottomRight, float bottomLeft)
    Parameters
    Type Name Description
    float topLeft

    The top-left value.

    float topRight

    The top-right value.

    float bottomRight

    The bottom-right value.

    float bottomLeft

    The bottom-left value.

    View Source

    UICorner(float)

    Initializes a new instance of the UICorner struct.

    Declaration
    public UICorner(float uniform)
    Parameters
    Type Name Description
    float uniform

    The uniform corner value.

    Fields

    View Source

    Zero

    The zero corner.

    Declaration
    public static readonly UICorner Zero
    Field Value
    Type Description
    UICorner

    Properties

    View Source

    BottomLeft

    The radius of the bottom left corner of the rectangle.

    Declaration
    public float BottomLeft { readonly get; init; }
    Property Value
    Type Description
    float
    View Source

    BottomRight

    The radius of the bottom right corner of the rectangle.

    Declaration
    public float BottomRight { readonly get; init; }
    Property Value
    Type Description
    float
    View Source

    IsNaN

    Gets a value indicating whether this is NaN.

    Declaration
    public readonly bool IsNaN { get; }
    Property Value
    Type Description
    bool
    View Source

    IsRelative

    Gets a value indicating whether the values are relative to target box size.

    Declaration
    public bool IsRelative { readonly get; init; }
    Property Value
    Type Description
    bool
    View Source

    IsZero

    Gets a value indicating whether this is zero.

    Declaration
    public readonly bool IsZero { get; }
    Property Value
    Type Description
    bool
    View Source

    TopLeft

    The radius of the top left corner of the rectangle.

    Declaration
    public float TopLeft { readonly get; init; }
    Property Value
    Type Description
    float
    View Source

    TopRight

    The radius of the top right corner of the rectangle.

    Declaration
    public float TopRight { readonly get; init; }
    Property Value
    Type Description
    float

    Methods

    View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    View Source

    Equals(UICorner)

    Whether this is equivalent to other.

    Declaration
    public bool Equals(UICorner other)
    Parameters
    Type Name Description
    UICorner other
    Returns
    Type Description
    bool
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Operators

    View Source

    operator ==(UICorner, UICorner)

    Compares two value for equality.

    Declaration
    public static bool operator ==(UICorner operand1, UICorner operand2)
    Parameters
    Type Name Description
    UICorner operand1

    The first operand object.

    UICorner operand2

    The second operand object.

    Returns
    Type Description
    bool

    True if both are equal, otherwise false.

    View Source

    operator !=(UICorner, UICorner)

    Compares two value for inequality.

    Declaration
    public static bool operator !=(UICorner operand1, UICorner operand2)
    Parameters
    Type Name Description
    UICorner operand1

    The first operand object.

    UICorner operand2

    The second operand object.

    Returns
    Type Description
    bool

    True if both are not equal, otherwise false.

    Implements

    IEquatable<>

    Extension Methods

    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