Spec-Zone .ru
спецификации, руководства, описания, API
|
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 null
java.lang.IllegalArgumentException
- if value
cannot be parsedColor.valueOf(String)
,
LinearGradient.valueOf(String)
,
RadialGradient.valueOf(String)
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to