meo-skia-canvas
    Preparing search index...

    Variable DOMRect

    DOMRect: {
        prototype: DOMRect;
        fromRect(other?: DOMRectInit): DOMRect;
        new (x?: number, y?: number, width?: number, height?: number): DOMRect;
    }

    An axis-aligned rectangle.

    Type Declaration

      • new (x?: number, y?: number, width?: number, height?: number): DOMRect
      • A rectangle at (x, y) of the given size. A negative width or height moves the origin corner.

        Parameters

        • Optionalx: number
        • Optionaly: number
        • Optionalwidth: number
        • Optionalheight: number

        Returns DOMRect

    • prototype: DOMRect

      The prototype every instance inherits from.

    • fromRect: function