Udostępnij za pośrednictwem


Selecting and Using a Drawing Tool

The Image editor's freehand drawing and erasing tools all work in the same way: you select the tool and, if necessary, select foreground and background colors and size and shape options. You then move the pointer to the image and click or drag to draw and erase.

When you select the Eraser tool, Brush tool, or Airbrush tool, the option selector displays that tool's options.

Tip

Instead of using the Eraser tool, you may find it more convenient to draw in the background color with one of the drawing tools.

You can select drawing tools from either the Image Editor toolbar or the Image menu.

To select and use a drawing tool from the Image Editor toolbar

  1. Click a button on the Image Editor toolbar.

    • The Eraser tool paints over the image with the current background color when you press the left mouse button.

    • The Pencil tool draws freehand in a constant width of one pixel.

    • The option selector determines the Brush tool's shape and size.

    • The Airbrush tool randomly distributes color pixels around the center of the brush.

      Tip

      Tool tips appear when you hover your cursor over the buttons on the Image Editor toolbar. These tips will help you identify the specific buttons mentioned here.

  2. If necessary, select colors and a brush:

    • In the Colors palette, click the left mouse button to select a foreground color or the right mouse button to select a background color.

    • In the Options Selector, click a shape representing the brush you want to use.

  3. Point to the place on the image where you want to start drawing or painting. The pointer changes shape according to the tool you selected.

  4. Press the left mouse button (for the foreground color) or the right mouse button (for the background color), and hold it down as you draw.

To select and use a drawing tool from the Image menu

  1. Click the Image menu and select the Tools command.

  2. On the cascading submenu, choose the tool you wish to use.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

None

See Also

Reference

Accelerator Keys for the Image Editor

Editing Graphical Resources

Image Editor

Working with Color