public static enum NIVision.DataMatrixPolarity extends Enum<NIVision.DataMatrixPolarity>
Enum Constant and Description |
---|
AUTO_DETECT_POLARITY |
BLACK_DATA_ON_WHITE_BACKGROUND |
WHITE_DATA_ON_BLACK_BACKGROUND |
Modifier and Type | Method and Description |
---|---|
static NIVision.DataMatrixPolarity |
fromValue(int val) |
int |
getValue() |
static NIVision.DataMatrixPolarity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.DataMatrixPolarity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.DataMatrixPolarity AUTO_DETECT_POLARITY
public static final NIVision.DataMatrixPolarity BLACK_DATA_ON_WHITE_BACKGROUND
public static final NIVision.DataMatrixPolarity WHITE_DATA_ON_BLACK_BACKGROUND
public static NIVision.DataMatrixPolarity[] values()
for (NIVision.DataMatrixPolarity c : NIVision.DataMatrixPolarity.values()) System.out.println(c);
public static NIVision.DataMatrixPolarity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NIVision.DataMatrixPolarity fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.