WmfLogColorSpaceW
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject
public class WmfLogColorSpaceW extends MetaObject
The LogColorSpaceW object specifies a logical color space, which can be defined by a color profile file with a name consisting of Unicode 16-bit characters.
See the WmfLogColorSpace
object (section 2.2.2.11) for additional details concerning the interpretation of field values of this object.
Constructors
Constructor | Description |
---|---|
WmfLogColorSpaceW() |
Methods
Method | Description |
---|---|
getSignature() | Gets or sets a 32-bit unsigned integer that specifies the signature of color space objects; it MUST be set to the value 0x50534F43, which is the ASCII encoding of the string “PSOC”. |
setSignature(int value) | Gets or sets a 32-bit unsigned integer that specifies the signature of color space objects; it MUST be set to the value 0x50534F43, which is the ASCII encoding of the string “PSOC”. |
getVersion() | Gets or sets a 32-bit unsigned integer that defines a version number; it MUST be0x00000400. |
setVersion(int value) | Gets or sets a 32-bit unsigned integer that defines a version number; it MUST be0x00000400. |
getSize() | Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes. |
setSize(int value) | Gets or sets a 32-bit unsigned integer that defines the size of this object, in bytes. |
getColorSpaceType() | Gets or sets a 32-bit signed integer that specifies the color space type. |
setColorSpaceType(int value) | Gets or sets a 32-bit signed integer that specifies the color space type. |
getIntent() | Gets or sets a 32-bit signed integer that defines the gamut mapping intent. |
setIntent(int value) | Gets or sets a 32-bit signed integer that defines the gamut mapping intent. |
getEndpoints() | Gets or sets a CIEXYZTriple object (section 2.2.2.7) that defines the CIE chromaticity x, y, and z coordinates of the three colors that correspond to the RGB endpoints for the logical color space associated with the bitmap. |
setEndpoints(WmfCieXyzTriple value) | Gets or sets a CIEXYZTriple object (section 2.2.2.7) that defines the CIE chromaticity x, y, and z coordinates of the three colors that correspond to the RGB endpoints for the logical color space associated with the bitmap. |
getGammaRed() | Gets or sets a 32-bit fixed point value that defines the toned response curve for red. |
setGammaRed(int value) | Gets or sets a 32-bit fixed point value that defines the toned response curve for red. |
getGammaGreen() | Gets or sets a 32-bit fixed point value that defines the toned response curve for green. |
setGammaGreen(int value) | Gets or sets a 32-bit fixed point value that defines the toned response curve for green. |
getGammaBlue() | Gets or sets a 32-bit fixed point value that defines the toned response curve for blue. |
setGammaBlue(int value) | Gets or sets a 32-bit fixed point value that defines the toned response curve for blue. |
getFilename() | Gets or sets an optional, null-terminated Unicode UTF16-LE character string, which specifies the name of a file that contains a color profile. |
setFilename(String value) | Gets or sets an optional, null-terminated Unicode UTF16-LE character string, which specifies the name of a file that contains a color profile. |
WmfLogColorSpaceW()
public WmfLogColorSpaceW()
getSignature()
public int getSignature()
Gets or sets a 32-bit unsigned integer that specifies the signature
of color space objects; it MUST be set to the value 0x50534F43, which is the ASCII encoding of the string “PSOC”.
Returns: int
setSignature(int value)
public void setSignature(int value)
Gets or sets a 32-bit unsigned integer that specifies the signature
of color space objects; it MUST be set to the value 0x50534F43, which is the ASCII encoding of the string “PSOC”.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getVersion()
public int getVersion()
Gets or sets a 32-bit unsigned integer that defines a version
number; it MUST be0x00000400.
Returns: int
setVersion(int value)
public void setVersion(int value)
Gets or sets a 32-bit unsigned integer that defines a version
number; it MUST be0x00000400.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getSize()
public int getSize()
Gets or sets a 32-bit unsigned integer that defines the size
of this object, in bytes.
Returns: int
setSize(int value)
public void setSize(int value)
Gets or sets a 32-bit unsigned integer that defines the size
of this object, in bytes.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getColorSpaceType()
public int getColorSpaceType()
Gets or sets a 32-bit signed integer that specifies the color space type. It MUST be defined in the LogicalColorSpace enumeration (section 2.1.1.14). If this value is LCS_sRGB or LCS_WINDOWS_COLOR_SPACE, the sRGB color space MUST be used.
Returns: int
setColorSpaceType(int value)
public void setColorSpaceType(int value)
Gets or sets a 32-bit signed integer that specifies the color space type. It MUST be defined in the LogicalColorSpace enumeration (section 2.1.1.14). If this value is LCS_sRGB or LCS_WINDOWS_COLOR_SPACE, the sRGB color space MUST be used.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getIntent()
public int getIntent()
Gets or sets a 32-bit signed integer that defines the gamut mapping intent. It MUST be defined in the GamutMappingIntent enumeration (section 2.1.1.11).
Returns: int
setIntent(int value)
public void setIntent(int value)
Gets or sets a 32-bit signed integer that defines the gamut mapping intent. It MUST be defined in the GamutMappingIntent enumeration (section 2.1.1.11).
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getEndpoints()
public WmfCieXyzTriple getEndpoints()
Gets or sets a CIEXYZTriple object (section 2.2.2.7) that defines the CIE chromaticity x, y, and z coordinates of the three colors that correspond to the RGB endpoints
for the logical color space associated with the bitmap. If the ColorSpaceType
field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.
Returns: WmfCieXyzTriple
setEndpoints(WmfCieXyzTriple value)
public void setEndpoints(WmfCieXyzTriple value)
Gets or sets a CIEXYZTriple object (section 2.2.2.7) that defines the CIE chromaticity x, y, and z coordinates of the three colors that correspond to the RGB endpoints
for the logical color space associated with the bitmap. If the ColorSpaceType
field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | WmfCieXyzTriple |
getGammaRed()
public int getGammaRed()
Gets or sets a 32-bit fixed point value that defines the toned response curve for red. If the ColorSpaceType
field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.
Returns: int
setGammaRed(int value)
public void setGammaRed(int value)
Gets or sets a 32-bit fixed point value that defines the toned response curve for red. If the ColorSpaceType
field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getGammaGreen()
public int getGammaGreen()
Gets or sets a 32-bit fixed point value that defines the toned response curve for green. If the ColorSpaceType
field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.
Returns: int
setGammaGreen(int value)
public void setGammaGreen(int value)
Gets or sets a 32-bit fixed point value that defines the toned response curve for green. If the ColorSpaceType
field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getGammaBlue()
public int getGammaBlue()
Gets or sets a 32-bit fixed point value that defines the toned response curve for blue. If the ColorSpaceType
field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.
Returns: int
setGammaBlue(int value)
public void setGammaBlue(int value)
Gets or sets a 32-bit fixed point value that defines the toned response curve for blue. If the ColorSpaceType
field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getFilename()
public String getFilename()
Gets or sets an optional, null-terminated Unicode UTF16-LE character string, which specifies the name of a file that contains a color profile. If a file name is specified, and the ColorSpaceType
field is set to LCS_CALIBRATED_RGB, the other fields of this structure SHOULD be ignored.
Returns: java.lang.String
setFilename(String value)
public void setFilename(String value)
Gets or sets an optional, null-terminated Unicode UTF16-LE character string, which specifies the name of a file that contains a color profile. If a file name is specified, and the ColorSpaceType
field is set to LCS_CALIBRATED_RGB, the other fields of this structure SHOULD be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |