Partilhar via


Apply a brush to an object's fill or stroke

Applying a brush is how you change the basic appearance of an object, such as the color or pattern that appears on part of the object. Brush properties are listed in the Brushes category of the Properties panel. The properties you see in the Brushes category vary depending on the object you have selected. Although this topic discusses only Fill and Stroke properties, you can apply a brush to all Brush properties such as Foreground, Background, BorderBrush, and OpacityMask.

To apply a brush to an object's fill or stroke

  1. On the artboard, select the object to which you want to apply a brush. The Properties panel will display the properties for the object.

  2. Under Brushes in the Properties panel, click Fill or Stroke, and then click one of the brush tabs: Solid color brush Cc294798.3a66ec96-47bb-47fc-8876-6b9456feec3a(en-us,Expression.10).png, Gradient brush Cc294798.91fb0c61-7b3b-4ae7-8a59-760e625e3bd7(en-us,Expression.10).png, or Tile brush Cc294798.14623a18-70ab-450f-af01-ae9902d60e4d(en-us,Expression.10).png.

  3. At this point, you can define a brush by picking a color, creating a gradient, or making a tile brush. Additionally, you can click the **Brush resources **Cc294798.415db740-5a54-48d2-8678-245ccfa7ee8b(en-us,Expression.10).png tab and apply an existing brush resource to the selected object.

    Tip

    A Color eyedropper Cc294798.2ab2d2fb-3478-4b33-87fb-3cdeb9df4d52(en-us,Expression.10).png appears in the lower-right corner of the color Editor when you modify a Solid color brush Cc294798.3a66ec96-47bb-47fc-8876-6b9456feec3a(en-us,Expression.10).png or a gradient stop on a Gradient brush Cc294798.91fb0c61-7b3b-4ae7-8a59-760e625e3bd7(en-us,Expression.10).png. With this eyedropper selected, you can grab a color sample from anywhere on your desktop and apply it to the selected brush. When you modify a Gradient brush Cc294798.91fb0c61-7b3b-4ae7-8a59-760e625e3bd7(en-us,Expression.10).png, you can select the Gradient eyedropper Cc294798.2ab2d2fb-3478-4b33-87fb-3cdeb9df4d52(en-us,Expression.10).png and drag a line across a sample of a color anywhere inside the Microsoft Expression Blend application window to apply it to the brush. You can press the ESC key at any time to cancel out of the eyedroppers.

To remove a brush that is applied to an object

  1. On the artboard, select the object from which you want to remove the brush. The Properties panel will display the properties for the object.

  2. Under Brushes in the Properties panel, select the brush property that you want to remove, and then click the No Brush Cc294798.706bbd5c-c0e0-43a1-9604-297f019d0275(en-us,Expression.10).png tab.

    Note

    In the case of the Stroke property, you are not actually removing the stroke. For example, you may have a stroke applied that has no brush, yet the thickness of the stroke is still present.

See also

Concepts

Create a brush or color resource