Command/MPcolor

From Wiki
Jump to navigation Jump to search


\MPcolor

Summary

The command \MPcolor is used in MetaPost for getting a color defined in TeX.

Settings

\MPcolor{...}
{...}color

Description

Examples

Fill a disk with a color defined in ConTeXt

\definecolor[disc-color][r=0.5,g=0.5,b=1]

\startMPpage
fill fullcircle scaled 1cm
    withcolor \MPcolor{disc-color};
\stopMPpage

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: