Spec-Zone .ru
спецификации, руководства, описания, API
|
Modifier | Constructor and Description |
---|---|
protected |
ColorBuilder() |
Modifier and Type | Method and Description |
---|---|
B |
blue(double x)
Set the value of the
blue property for the instance constructed by this builder. |
Color |
build()
Make an instance of
Color based on the properties set on this builder. |
static ColorBuilder<?> |
create()
Creates a new instance of ColorBuilder.
|
B |
green(double x)
Set the value of the
green property for the instance constructed by this builder. |
B |
opacity(double x)
Set the value of the
opacity property for the instance constructed by this builder. |
B |
red(double x)
Set the value of the
red property for the instance constructed by this builder. |
public static ColorBuilder<?> create()
public B blue(double x)
blue
property for the instance constructed by this builder.public B green(double x)
green
property for the instance constructed by this builder.public B opacity(double x)
opacity
property for the instance constructed by this builder.public B red(double x)
red
property for the instance constructed by this builder.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to