Illustrator

Keys for painting objects

This is not a complete list of keyboard shortcuts. This table lists only those shortcuts that are not displayed in menu commands or tool tips.

Result

Windows

Mac OS

Toggle between fill and stroke

X

X

Set fill and stroke to default

D

D

Swap fill and stroke

Shift + X

Shift + X

Select gradient fill mode

>

>

Select color fill mode

<

<

Select no stroke/fill mode

/ (forward slash)

/ (forward slash)

Sample color from an image or intermediate color from gradient

Shift + Eyedropper tool

Shift + Eyedropper tool

Sample style and append appearance of currently selected item

Alt + Shift-click + Eyedropper tool

Option + Shift-click + Eyedropper tool

Add new fill

Ctrl + / (forward slash)

Command + / (forward slash)

Add new stroke

Ctrl + Alt + / (forward slash)

Command + Option + / (forward slash)

Reset gradient to black and white

Ctrl-click gradient button in Toolbox

Command-click gradient button in Toolbox