#3: Only calling 'setClipToOutline' in the example when it is available.
#1 Using BitmapShader instead of PorterDuff.