How do you control the Viewport on a VisualBrush or an ImageBrush in Blend - Alexandra

08-Apr-07 04:24:37
How do you control the Viewport property on the Visual or Image Brushes?
This property is key to recreating and controlling the number of repeats
that the brush performs in order to create a new texture, pattern or
reflection effect.

I followed the following instructions by Mario Guzzi (copied below) in his
response to someone's enquiry about how to use the tile brush. The tile
effect works great in the brush resource editor ONLY. The tile effect is not
trasposed to the element in which it is illustrating. Upon reviewing the
code, I noticed that the Viewport property is missing. Is it located in
another part of the program or was it an oversight?

Alexandra

1) Create an Image Brush
-----------------------
Add an image file
Insert the image into the scene
Tools | Make Brush Resource | Make Image Brush

2) Use Tile Brush on the image brush
---------------
Insert a rectangle
Apply the image brush created before. (you can do this by using the brush
resources tab in the brushes palette)
Move to the tile brush tab in the Brushes Palette
Set Tile Mode to Tile
Select the Brush Transform Tool from the tools toolbar (press B will do it
as well)
Resize the image brush applied to the rectangle to see the different "tiles"
reply
How do you control the Viewport on a VisualBrush or an ImageBrush in Blend - Alexandra 08-Apr-07
        Re: How do you control the Viewport on a VisualBrush or an ImageBrush in Blend - Unni Ravindranathan \(MS\) 08-Apr-07
                Re: How do you control the Viewport on a VisualBrush or an ImageBrush in Blend - Alexandra 11-Apr-07
                        Re: How do you control the Viewport on a VisualBrush or an ImageBrush in Blend - Unni Ravindranathan \(MS\) 17-Apr-07

visual studio & blend:Keeping files in sync
  

Search

search




Purchase