Gets whether this Paint is completely opaque. An opaque paint is one that
has no alpha component in any of its colors. It may be possible for a Paint
to be opaque and yet return false, if it cannot be easily determined
whether the paint is actually opaque. For example, the ImagePattern may not
be able to cheaply determine its opacity.
true if the Paint is opaque, false if it is not opaque or if
it cannot be determined.
Creates a paint value from a string representation. Recognizes strings
representing Color, RadialGradient or LinearGradient.
String specifying LinearGradient must begin with linear-gradient keyword
and string specifying RadialGradient must begin with radial-gradient.
value - the string to convert
a Color, RadialGradient or LinearGradient
object holding the value represented by the string argument.