ASP.NET MVC Controls | ComponentOne
In This Topic
    Size Class
    In This Topic
    File
    wijmo.js
    Module
    wijmo

    Class that represents a size (with width and height).

    Constructor

    Properties

    Methods

    Constructor

    constructor

    constructor(width?: number, height?: number): Size
    

    Initializes a new instance of the Size class.

    Parameters
    Optional

    Width of the new Size.

    Height of the new Size.

    Returns
    Size

    Properties

    height

    Gets or sets the height of this Size.

    Type
    number

    width

    Gets or sets the width of this Size.

    Type
    number

    Methods

    clone

    clone(): Size
    

    Creates a copy of this Size.

    Returns
    Size

    equals

    equals(sz: Size): boolean
    

    Returns true if a Size has the same dimensions as this Size.

    Parameters
    Returns
    boolean