forString(String, DownscaleQuality) and the corresponding string
for the quality
| Modifier and Type | Field and Description |
|---|---|
| public static final DownscaleQuality | AREA
One step, fast, but should be better than low-quality. |
| private static Map | constList
Internal map string type to DQ instance |
| public static final DownscaleQuality | FAST
Low quality, but very fast. |
| public static final DownscaleQuality | HIGH_QUALITY
Highest-quality downscaling; probably slowest as well. |
| public static final DownscaleQuality | LOW_QUALITY
Low-quality, but not worst quality |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static DownscaleQuality | Returns: The constant for that typeUnique string for the instance type)Create and add constant instance |
| public String | |
| public static DownscaleQuality | Returns: The constant quality instance for the type, or the default if not found.The string describing the quality, e.g. HIGH type, DownscaleQuality Default value to use if not found dflt)Retrieves the DownscaleQuality instance for the corresponding string. |
| private static void |
| AREA | back to summary |
|---|---|
| public static final DownscaleQuality AREA One step, fast, but should be better than low-quality. | |
| constList | back to summary |
|---|---|
| private static Map<String, DownscaleQuality> constList Internal map string type to DQ instance | |
| FAST | back to summary |
|---|---|
| public static final DownscaleQuality FAST Low quality, but very fast. | |
| HIGH_QUALITY | back to summary |
|---|---|
| public static final DownscaleQuality HIGH_QUALITY Highest-quality downscaling; probably slowest as well. | |
| LOW_QUALITY | back to summary |
|---|---|
| public static final DownscaleQuality LOW_QUALITY Low-quality, but not worst quality | |
| type | back to summary |
|---|---|
| private final String type | |
| DownscaleQuality | back to summary |
|---|---|
| private DownscaleQuality(String type) | |
| addConstant | back to summary |
|---|---|
| private static DownscaleQuality addConstant(String type) Create and add constant instance
| |
| asString | back to summary |
|---|---|
| public String asString() | |
| forString | back to summary |
|---|---|
| public static DownscaleQuality forString(String type, DownscaleQuality dflt) Retrieves the DownscaleQuality instance for the corresponding string.
| |
| init | back to summary |
|---|---|
| private static void init() | |