public class BoundedVoronoiBuildOptions extends Object
Modifier and Type | Field and Description |
---|---|
protected Rectangle2D |
bounds |
protected boolean |
enableAutomaticColorAssignment |
Constructor and Description |
---|
BoundedVoronoiBuildOptions() |
Modifier and Type | Method and Description |
---|---|
void |
enableAutomaticColorAssignment(boolean status)
Enable the automatic assignment of color values to input vertices.
|
void |
setBounds(Rectangle2D bounds)
Sets the bounds for the Bounded Voronoi Diagram.
|
protected Rectangle2D bounds
protected boolean enableAutomaticColorAssignment
public void setBounds(Rectangle2D bounds)
Note: The alternate bounds must be at least as large as the size of the sample data set.
bounds
- a valid rectangle.public void enableAutomaticColorAssignment(boolean status)
status
- true if automatic coloring is enabled; otherwise false.Copyright © 2021. All rights reserved.