identity()
    {
        this.a = 1;
        this.b = 0;
        this.c = 0;
        this.d = 1;
        this.tx = 0;
        this.ty = 0;

        return this;
    }
/**
     * Sets the matrix to the identity matrix.
     *
     * @return {Matrix2d} returns itself.
     */
Sets the matrix to the identity matrix.
@return {Matrix2d} returns itself.
Sets the matrix to the identity matrix . @return { Matrix2d } returns itself .
identity()
    {
        this.a = 1;
        this.b = 0;
        this.c = 0;
        this.d = 1;
        this.tx = 0;
        this.ty = 0;
        return this;
    }
identity ( ) { this . a = 1 ; this . b = 0 ; this . c = 0 ; this . d = 1 ; this . tx = 0 ; this . ty = 0 ; return this ; }
Sets the matrix to the identity matrix.
Sets the matrix to the identity matrix .