Search Results for

    Show / Hide Table of Contents

    Struct Size

    Size struct

    Namespace: Terminaux.Base.Structures
    Assembly: Terminaux.dll
    Syntax
    public struct Size

    Constructors

    | Edit this page View Source

    Size(int, int)

    Makes a new size instance

    Declaration
    public Size(int width, int height)
    Parameters
    Type Name Description
    int width

    A zero-based width

    int height

    A zero-based height

    Properties

    | Edit this page View Source

    Height

    Gets the height

    Declaration
    public readonly int Height { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Width

    Gets the width

    Declaration
    public readonly int Width { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    System.ValueType.Equals(object)
    | Edit this page View Source

    Equals(Size)

    Declaration
    public bool Equals(Size other)
    Parameters
    Type Name Description
    Size other
    Returns
    Type Description
    bool
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    System.ValueType.GetHashCode()

    Operators

    | Edit this page View Source

    operator ==(Size, Size)

    Declaration
    public static bool operator ==(Size left, Size right)
    Parameters
    Type Name Description
    Size left
    Size right
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Size, Size)

    Declaration
    public static bool operator !=(Size left, Size right)
    Parameters
    Type Name Description
    Size left
    Size right
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX