check whether a string is the name of a known palette - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : ColorTools/KnownPalette

ColorTools[KnownPalette] - check whether a string is the name of a known palette

Calling Sequence

KnownPalette(N)

Parameters

N

-

string used to identify the palette

Description

• 

The KnownPalette command returns true if and only if N is the name of a known palette. The string is not case-sensitive.

Examples

withColorTools:

P:=PaletteRed=Color#f00,Blue=Color#00f,Green=Color#0f0

P:=Palette:RedBlueGreen

(1)

AddPalettePrimary,P

niagara,nautical,spring,oldplots,mono,dalton,executive,bright,css,html,maplev,x11,resene,generic,primary

(2)

KnownPaletteprimary

true

(3)

KnownPalettePrimary

true

(4)

KnownPalettePrim ary

false

(5)

See Also

ColorTools[Palette]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam