Partager via


Transform a gradient or tile brush

The Brush Transform tool outil Transformation du pinceau in Blend for Visual Studio 2012 lets you move, rotate, skew, or resize a linear or radial gradient brush or a tile brush, depending on the type of brush.

To transform a gradient or tile brush

  1. Select an object that uses a gradient or tile brush for its fill, stroke, foreground, background, opacity mask, or border brush. For information about how to create a gradient or tile brush, see Apply a tile brush to an object's fill or stroke.

  2. In the Tools panel, click Brush Transformoutil Transformation du pinceau.

    ConseilConseil

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

  3. In the Properties panel, under Brushes, click the brush that you want to transform.

  4. On the artboard, do one or more of the following:

    • To move a brush, drag anywhere inside the object. This corresponds to the Translate tab on the RelativeTransform box in the Properties panel.

    • 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 JJ170655.888cbf6b-c442-424d-977d-61d942703c4a(fr-fr,VS.110).png. This corresponds to the Rotate tab on the RelativeTransform box in the Properties panel.

    • 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. This corresponds to the Scale tab on the RelativeTransform box in the Properties panel.

    • To skew a brush, put your pointer outside a side handle and drag when your pointer changes to skew handles JJ170655.2be41f49-8a61-4966-bf08-598f4253b610(fr-fr,VS.110).png. This corresponds to the Skew tab on the RelativeTransform box in the Properties panel.