public class DiamondSpotFunction extends java.lang.Object implements SpotFunction
ClusteredDotDither| Constructor and Description |
|---|
DiamondSpotFunction() |
| Modifier and Type | Method and Description |
|---|---|
double |
compute(double x,
double y)
Compute the spot intensity at the given position.
|
boolean |
isBalanced()
Returns if this spot function is balanced.
|
public double compute(double x,
double y)
SpotFunctioncompute in interface SpotFunctionx - horizontal position, must be between -1.0 and 1.0 (including both)y - vertical position, must be between -1.0 and 1.0 (including both)public boolean isBalanced()
SpotFunctionisBalanced in interface SpotFunction