# class ICCBased
ICCBased inherits from ColorSpace
# CONSTRUCTORS
# constructor ICCBased(profile, alternate)
Description: Use with caution. As no verification is done on the profile provided, make sure that the profile and alternate match.
Parameters:
- profile: (byte) - ICC profile to use
- alternate: (ColorSpace) - The alternate colorspace
# constructor ICCBased(obj)
Description:
Parameters:
- obj: (PdfObject) -
# constructor ICCBased(obj, verifyProfile)
Description:
Parameters:
- obj: (PdfObject) -
- verifyProfile: (Boolean) -
# FUNCTIONS
# function type()
Description:
Return:
(ColorSpace.Type) -
# function numberOfComponents()
Description:
Return:
(Number) -
# function description()
Description:
Return:
(String) -
# function alternate()
Description:
Return:
(ColorSpace) -
# function profile()
Description:
Return:
(byte) -
# function range()
Description:
Return:
(Number) -
# function metadata()
Description:
Return:
(byte) -
# function underlyingType()
Description: This is a helper method to find out if the icc colorspace is gray, rgb, cmyk, or lab. It was added because an ICCBased colorspace can have a ICCBased colorspace as it's alternate colorspace, which makes it hard to determine what type of ICC colorspace we're dealing with
Return:
(ColorSpace.Type) -
# function toString()
Description:
Return:
(String) -
# function copy()
Description:
Return:
(ColorSpace) -
# function equals(obj)
Description:
Parameters:
- obj: (Object) -
Return:
(Boolean) -
# function hashCode()
Description:
Return:
(Number) -