Buddhists are not unanimous in their view of euthanasia, and the teachings of the Buddha don't explicitly deal with it.
Most Buddhists (like almost everyone else) are against involuntary euthanasia. Their position on voluntary euthanasia is less clear.