Retrieves alpha from the color used when stroking and filling.
alpha ranging from 0f, fully transparent, to 1f, fully opaque