Modify the appearance of a object

You can change the appearance of the objects that you draw on the artboard by applying a brush and then modifying the Fill and Stroke of the brush.

Brushes appear in the Brush category of the Properties panel. The Fill property refers to the appearance of the inside of the rectangle object. The Stroke property refers to the border around the rectangle, and the Opacity property can be used to make rectangle object transparent. The properties displayed in the Brush category change depending on the type of object selected.

To modify the fill of a rectangle

  1. Click Selection JJ154962.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,VS.110).png in the Tools panel and then click the rectangle on the artboard.

    Tip

    You can also select the rectangle by selecting the Rectangle object in the Objects and Timeline panel.

  2. In the Properties panel, under Brush, select Fill.

  3. Under Brush, select Solid color brush JJ154962.3a66ec96-47bb-47fc-8876-6b9456feec3a(en-us,VS.110).png.

  4. In the color Editor, select the color that you want to apply to the rectangle. You can use the RGB value, the 16-bit hexadecimal color code, or the color picker to choose the color that you want.

    Modify the fill of an object

To modify the stroke of a rectangle

  1. Click Selection JJ154962.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,VS.110).png in the Tools panel and then click the rectangle on the artboard.

    Tip

    You can also select the rectangle by selecting the Rectangle object in the Objects and Timeline panel.

  2. In the Properties panel, under Brush, select Stroke.

  3. Under Brush, select Solid color brush JJ154962.3a66ec96-47bb-47fc-8876-6b9456feec3a(en-us,VS.110).png.

  4. In the color Editor, select the color that you want to apply to the stroke. You can use the RGB value, the 16-bit hexadecimal color code, or the color picker to choose the color that you want.

  5. In the Appearance category, modify the StrokeThickness.

    Modify Stroke

For more information, see Apply a brush to an object's fill or stroke.

You can also modify the corners of the stroke by adjusting the Stroke properties.

For more information, see the "Strokes" section of Setting colors, brushes, and masks (Blend for Visual Studio).

To add a gradient to a rectangle

  1. Click Selection JJ154962.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,VS.110).png in the Tools panel and then click the rectangle on the artboard.

  2. In the Properties panel, under Brush, select Fill or Stroke.

  3. Under Brush, select Gradient brush JJ154962.91fb0c61-7b3b-4ae7-8a59-760e625e3bd7(en-us,VS.110).png.

  4. In the Editor, you can change the color of each of the gradient stops JJ154962.a3c9e482-e99b-4504-8a02-9507487d1791(en-us,VS.110).png on the color bar by selecting the gradient stop, and then clicking the color that you want inside the color picker.

    A gradient brush applied to the Fill property of a rectangle

    Modify gradient

    You can add other gradient stops by clicking the gradient bar. You can also swap the gradient stops by clicking Reverse gradient stop Reverse gradient stop button.

    To remove gradient stops, drag them off the gradient bar.

    Tip

    When Gradient brush is selected, the Color eyedropper in the color Editor becomes a Gradient eyedropper Gradient eyedropper icon. You can drag the Gradient eyedropper over an existing gradient, either inside Expression Blend or on the desktop, to apply the gradient to the existing object.

To modify a gradient applied to a rectangle

  1. With the Fill or Stroke property of the rectangle object still selected, select Gradient JJ154962.8dc54a0d-02cc-44cd-b802-5a78309f4503(en-us,VS.110).png in the Tools panel.

    Tip

    With the object selected on the artboard, press G to select the Gradient tool. The pointer changes to the Gradient toolGradient tool when you hover over the selected object on the artboard.

    A blue arrow appears on the artboard showing the direction of the gradient brush and its endpoints.

    Note

    If you do not see a blue arrow, you might not have the rectangle object selected, or you might not have a brush property selected.

  2. Use your mouse to move the endpoints of the blue arrow to modify the gradient. You can lengthen or shorten the arrow, rotate the arrow, or move the center point of the arrow to modify the gradient.

    Modify a gradient

    Modify gradient

  3. In the Properties panel, under Brush, click the gradient bar to add more gradient stops and change their colors. You can also click the blue arrow on the artboard to add gradient stops or double-click to edit the gradient.

To transform a brush applied to an object

  1. With the rectangle selected on the artboard, select Brush Transform Brush Transform tool in the Tools panel.

    Tip

    With the object selected on the artboard, press B to select the Brush Transform tool.

    A blue arrow adorner appears around the rectangle on the artboard.

  2. With the Brush Transform tool selected, do one or more of the following:

    • To move a brush, drag anywhere inside the object.

      Transform a gradient

    • To rotate a brush, put your pointer outside any corner of the bounding outline around the object and drag when your pointer changes to a rotation handle JJ154962.888cbf6b-c442-424d-977d-61d942703c4a(en-us,VS.110).png.

      Transform a gradient

    • To rescale either a tile brush or radial gradient brush, put your pointer on any handle on the side or corner of the object, and then drag.

      Transform a gradient

    • To skew a brush, put your pointer outside a side handle and drag when your pointer changes to skew handles JJ154962.2be41f49-8a61-4966-bf08-598f4253b610(en-us,VS.110).png..

      Transform a gradient

The Brush Transform tool Brush Transform tool can also be used with the Tile brush JJ154962.14623a18-70ab-450f-af01-ae9902d60e4d(en-us,VS.110).png.

Next Steps

See Also

Tasks

Change the transparency of an object (Blend for Visual Studio)

Resize or scale an object (Blend for Visual Studio)

Flip an object (Blend for Visual Studio)

Change the center point of an object (Blend for Visual Studio)

Draw a free-form path (Blend for Visual Studio)

Combine shapes or paths (Blend for Visual Studio)

Make or release a compound path (Blend for Visual Studio)

Change the layering order of objects (Blend for Visual Studio)