Added support for setting transparency.

Reordered style functions.