# class ColorSpace



# STATIC MEMBERS

# static member read-only WhitePoint_D50

Type: Number

Description:

# static member read-only WhitePoint_D65

Type: Number

Description:

# MEMBERS

# member read-only gray

Type: Boolean

# member read-only rGB

Type: Boolean

# member read-only cMYK

Type: Boolean

# member read-only lab

Type: Boolean

# member read-only separation

Type: Boolean

# CONSTRUCTORS

# constructor ColorSpace()

Description:

# FUNCTIONS

# function type()

Description:

Return:

(ColorSpace.Type) -

# function numberOfComponents()

Description:

Return:

(Number) -

# function copy()

Description:

Return:

(ColorSpace) -

# function obj()

Description:

Return:

(PdfObject) -

# STATIC FUNCTIONS

# static function createFrom(obj)

Description:

Parameters:

Return:

(ColorSpace) -

# static function createFrom(obj, cachedAlternateColorspaces, verifyICCProfile)

Description:

Parameters:

  • obj: (PdfObject) - The colorspace object to process
  • cachedAlternateColorspaces: (Map) - A map of already processed alternate colorspaces
  • verifyICCProfile: (Boolean) - If true, will parse the ICC profile. This can add a lot of time when there are a lot of ICC profiles in a single PDF (which is a poorly created PDF but they exist).

Return:

(ColorSpace) -

Last Updated: 12/20/2022, 8:12:45 AM