public enum Grid extends java.lang.Enum<Grid> implements Control
CameraView.setGrid(Grid)| Enum Constant and Description |
|---|
DRAW_3X3
Draws a regular, 3x3 grid.
|
DRAW_4X4
Draws a regular, 4x4 grid.
|
DRAW_PHI
Draws a grid respecting the 'phi' constant proportions,
often referred as to the golden ratio.
|
OFF
No grid is drawn.
|
| Modifier and Type | Method and Description |
|---|---|
static Grid |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Grid[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Grid OFF
public static final Grid DRAW_3X3
public static final Grid DRAW_4X4
public static final Grid DRAW_PHI
public static Grid[] values()
for (Grid c : Grid.values()) System.out.println(c);
public static Grid valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null