GetPaletteType - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


ColorTools[Palette]

  

GetPaletteType

  

get the type of a Palette object

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

GetPaletteType(P)

Parameters

P

-

Palette object created with ColorTools:-Palette

Description

• 

The GetPaletteType command returns the type of a Palette object.

• 

The type will be a string and one of: "dictionary", "fill", "line", or "point".

• 

A description of the types can be found in the type parameter of the ColorTools[Palette] constructor.

Examples

GetPaletteTypeColorTools:-GetPaletteNiagara

line

(1)

GetPaletteTypeColorTools:-PaletteRed,Green,Blue

dictionary

(2)

Compatibility

• 

The ColorTools[Palette][GetPaletteType] command was introduced in Maple 18.

• 

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

See Also

ColorTools[Palette]