Platforms to show: All Mac Windows Linux Cross-Platform
Back to LCMS2NamedColorListMBS class.
LCMS2NamedColorListMBS.Append(name as string) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the number of elements in the list exceeds the initial storage, the list is realloc'ed to accommodate things.
Name: The spot color name without any prefix or suffix specified in Constructor.
PCS: Optionally, Encoded PCS coordinates as three integers.
Colorant: Optionally, Encoded values for device colorant. (up to 16 entries)
Returns true on success and false on failure.
See also:
LCMS2NamedColorListMBS.Append(name as string, PCS() as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the number of elements in the list exceeds the initial storage, the list is realloc'ed to accommodate things.
Name: The spot color name without any prefix or suffix specified in Constructor.
PCS: Optionally, Encoded PCS coordinates as three integers.
Colorant: Optionally, Encoded values for device colorant. (up to 16 entries)
Returns true on success and false on failure.
See also:
LCMS2NamedColorListMBS.Append(name as string, PCS() as Integer, Colorant() as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the number of elements in the list exceeds the initial storage, the list is realloc'ed to accommodate things.
Name: The spot color name without any prefix or suffix specified in Constructor.
PCS: Optionally, Encoded PCS coordinates as three integers.
Colorant: Optionally, Encoded values for device colorant. (up to 16 entries)
Returns true on success and false on failure.
See also:
LCMS2NamedColorListMBS.Colorant(nColor as UInt32) as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Array has 16 entries, but not all may be in use.
Some examples using this method:
LCMS2NamedColorListMBS.ColorIndex(name as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns index on name, or -1 if the spot color is not found.
LCMS2NamedColorListMBS.Constructor(context as LCMS2ContextMBS, n as UInt32, ColorantCount as UInt32, Prefix as string = "", Suffix as string = "")
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Allocates an empty named color dictionary.
Context: The user-defined context cargo.
N: Initial number of spot colors in the list
Colorant count: Number of channels of device space (i.e, 3 for RGB, 4 for CMYK, etc,)
Prefix, Suffix: fixed strings for all spot color names, e.g., "coated", "system", ...
On success handle is not zero.
LCMS2NamedColorListMBS.Name(nColor as UInt32) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LCMS2NamedColorListMBS.PCS(nColor as UInt32) as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Array has 3 entries.
LCMS2NamedColorListMBS.Prefix(nColor as UInt32) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LCMS2NamedColorListMBS.Suffix(nColor as UInt32) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | LCMS2 | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The items on this page are in the following plugins: MBS Images Plugin.