|
Spec-Zone .ru
спецификации, руководства, описания, API
|
public abstract class Paint extends java.lang.Object
| Constructor and Description |
|---|
Paint() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isOpaque()
Gets whether this Paint is completely opaque.
|
static Paint |
valueOf(java.lang.String value)
Creates a paint value from a string representation.
|
public Paint()
public abstract boolean isOpaque()
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, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to .