public abstract class Paint
extends java.lang.Object
| Constructor and Description |
|---|
Paint() |
public static Paint valueOf(java.lang.String value)
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 convertColor, RadialGradient or LinearGradient
object holding the value represented by the string argument.java.lang.NullPointerException - if value is nulljava.lang.IllegalArgumentException - if value cannot be parsedColor.valueOf(String),
LinearGradient.valueOf(String),
RadialGradient.valueOf(String)Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.