public class ImageOutputOption
extends java.lang.Object
implements java.io.Serializable
Picture output settings.
It includes the background color, transparency, output format of the image.
Modifier and Type | Field and Description |
---|---|
Color |
backColor
${services_components_commontypes_ImageOutputOption_attribute_backColor_Title}
|
Color |
foreColor
${services_components_commontypes_ImageOutputOption_attribute_foreColor_Title}
|
OutputFormat |
format
Output format of the image
|
PDFOption |
pdfOption
${services_components_commontypes_ImageOutputOption_attribute_pdfOption_Title}
|
boolean |
transparent
whether the map image are transparent.
|
Constructor and Description |
---|
ImageOutputOption()
${services_components_commontypes_ImageOutputOption_constructorByDefault_Title}
|
ImageOutputOption(ImageOutputOption mapOption)
${services_components_commontypes_ImageOutputOption_constructorByMapOption_Title}
|
ImageOutputOption(OutputFormat format)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determine whether the specified object is equal to ImageOutputOption object, they would be equal if
format is not null |
int |
hashCode()
${services_components_commontypes_ImageOutputOption_method_hashCode_Title}
|
java.lang.String |
toString() |
public Color backColor
${services_components_commontypes_ImageOutputOption_attribute_backColor_Title}
${services_components_commontypes_ImageOutputOption_attribute_backColor_Description}
public Color foreColor
${services_components_commontypes_ImageOutputOption_attribute_foreColor_Title}
${services_components_commontypes_ImageOutputOption_attribute_foreColor_Description}
public OutputFormat format
Output format of the image
Only transparent PNG format is support for the tracking layer
Note: If the output format is PNG, while setting the background color of the image to transparent, parameter, the background color of the output image will be black, not transparent, if the color quality of the computer is set to 16-bit. However, if the color quality of the computer is set to 32-bit, the output image will have a transparent background.
public boolean transparent
whether the map image are transparent.
The setting is used for the overlay of multiple map images to build composite map. If the transparency of the map is no transparency, than the setting would not work. Only PNG format image transparency is supported.
Note: If the output format is PNG, while setting the background color of the image to transparent, parameter, the background color of the output image will be black, not transparent, if the color quality of the computer is set to 16-bit. However, if the color quality of the computer is set to 32-bit, the output image will have a transparent background.
public PDFOption pdfOption
${services_components_commontypes_ImageOutputOption_attribute_pdfOption_Title}
${services_components_commontypes_ImageOutputOption_attribute_pdfOption_Description}
public ImageOutputOption()
${services_components_commontypes_ImageOutputOption_constructorByDefault_Title}
${services_components_commontypes_ImageOutputOption_constructorByDefault_Description}
public ImageOutputOption(OutputFormat format)
The Constructor.
format
- the output format of the image.public ImageOutputOption(ImageOutputOption mapOption)
${services_components_commontypes_ImageOutputOption_constructorByMapOption_Title}
${services_components_commontypes_ImageOutputOption_constructorByMapOption_Description}
mapOption
- ${services_components_commontypes_ImageOutputOption_constructorByMapOption_param_mapOption}java.lang.IllegalArgumentException
- ${services_components_commontypes_ImageOutputOption_constructorByMapOption_exception_IllegalArgumentException}public int hashCode()
${services_components_commontypes_ImageOutputOption_method_hashCode_Title}
${services_components_commontypes_ImageOutputOption_method_hashCode_Description}
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Determine whether the specified object is equal to ImageOutputOption object, they would be equal if format
is not null
equals
in class java.lang.Object
obj,
- the object that is compared with the current ImageOutputOption.public java.lang.String toString()
toString
in class java.lang.Object