Preparing search index...
    Index

    Constructors

    Properties

    x y

    Methods

    Constructors

    • Constructs a Size with the given width and height values.

      Parameters

      • x: number
      • y: number

      Returns Editor.Size

    Properties

    x: number

    Horizontal component of the size.

    y: number

    Vertical component of the size.

    Methods

    • Checks whether this size equals the given size.

      Parameters

      Returns boolean

    • Returns true if both x and y are zero.

      Returns boolean

    • Converts this size to a vec2.

      Returns vec2