ColorTools[Palette] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : Palette Object Commands : ColorTools/Palette/GetPaletteType

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]