GetPaletteColors - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

ColorTools

  

GetPaletteColors

  

return all the colors in a palette

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

GetPaletteColors(N)

Parameters

N

-

string used to identify the palette, possibly with modifiers

Description

• 

The GetPaletteColors command returns a list of the colors in a Palette object associated with the name N (a string that is not case-sensitive).

• 

The name of the palette can be prefixed with modifiers to change the order in which the colors are returned

– 

"reverse PaletteName" returns the colors in reverse order

– 

"shifted PaletteName" returns the colors shifted by 50%

– 

"reverse shifted PaletteName" first shifts and then reverses

– 

"shifted reverse PaletteName" first reverses and then shifts

– 

"shifted[n]" shifts exactly  steps to the left if n is an integer

– 

"shifted[f]" shifts to the left by % if f is a floating point number

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

Compatibility

• 

The ColorTools[GetPaletteColors] command was introduced in Maple 2023.

• 

For more information on Maple 2023 changes, see Updates in Maple 2023.

See Also

ColorTools[GetPalette]

ColorTools[PaletteNames]

 


Download Help Document