public static enum WebcamPanel.DrawMode extends java.lang.Enum<WebcamPanel.DrawMode>
Enum Constant and Description |
---|
FILL
Will resize image to the panel bounds.
|
FIT
Will fir image into the panel bounds.
|
NONE
Do not resize image - paint it as it is.
|
Modifier and Type | Method and Description |
---|---|
static WebcamPanel.DrawMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebcamPanel.DrawMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebcamPanel.DrawMode NONE
public static final WebcamPanel.DrawMode FILL
public static final WebcamPanel.DrawMode FIT
public static WebcamPanel.DrawMode[] values()
for (WebcamPanel.DrawMode c : WebcamPanel.DrawMode.values()) System.out.println(c);
public static WebcamPanel.DrawMode 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 nullCopyright © 2012-2018 Bartosz Firyn (SarXos). All Rights Reserved.