A dramatic monologue is often used by poets to lead a character in revealing something personal. The fact that the Duke is a cruel and harsh person is revealed through his own words.
In the course of his monologue, the Duke exposes his own crime of killing his wife.
The Duke is arrogant and indulges in self-praise at every opportunity; his self-aggrandizing words reveal his pride and arrogance.