Darren Lethorn, 34, was found guilty at the High Court in Paisley on Tuesday, October 27 and on November 24 was sentenced to over a decade in prison.
On Thursday, June 27, a firearm was discharged at a 26-year-old man in Cardon Square.
The bullet missed him and smashed the window of an adjacent flat, narrowly missing the occupant.
An investigation was launched and following enquiries, officers arrested and charged a 33-year-old man in connection with the incident.
Detective Inspector Robert Bowie said: “The intent to inflict serious injury was Lethorn’s objective that day when he took the decision to point and fire a weapon at a man in public.
"His actions are reprehensible and unacceptable.
"The sentence today ensures our streets are safer and that Lethorn will spend a significant amount of time behind bars.”