Former Knick point guard Raymond Felton and his wife settled their nasty divorce battle Thursday, her lawyer told The Post.

Lawyers for Felton – who now plays for the Dallas Mavericks – and Ariane Raymondo, 26, each had several private discussions with Judge Deborah Kaplan in Manhattan Supreme Court in the morning before the judge spoke with them jointly.

Felton wasn’t in court, but Raymondo was there wearing a chic tan jacket and black heels.

The Fordham Law School student declined to comment on the settlement but did say that upon graduation, she hopes to practice law in trusts and estates.

Lawyers for Felton said they would not be coming back to court but declined to comment.

Details of the settlement were not available.

Felton struck a no-jail plea deal with Manhattan prosecutors last month for possessing an illegal gun that Raymondo, a Cornell University grad, told cops he used to threaten her.

He was busted in February after Raymondo​​ turned him in to police and gave them the Belgian-made FNH Five-Seven 28mm handgun she said he waved at her twice during heated fights at their Upper West Side apartment.

Raymondo also told cops that Felton was a serial cheater and had carried on affairs with more than one mistress, law-enforcement sources have told the Post.

Raymondo and Felton wed in 2012, and she filed for divorce in February.