Wanderer
Topic Author
Posts: 168
Joined: 08 May 2017, 18:36

Repeated Graphic (texture like, patern in inkscape)

04 Dec 2017, 23:48

I want in progress bar have custom graphic, inside progress area and will be moving while progress reach. Problem is, my ui is resizable, that means progress bar have not fix width. I want my graphic in progress bar repeateble - it will be arrow like graphics ">>>>>" and I want make it as patern like in this tutorial because I don't want stretch graphics inside progress bar. Patern is due unknow width for progress bar which is resizable.
Can Noesis do it?
If my question is not clear what I want, simply I am asking if Noesis can do repeat or make graphic patern from vector graphic like inkscape from tutorial link.
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Repeated Graphic (texture like, patern in inkscape)

11 Dec 2017, 16:57

Hi,

Right now is not possible to use vector graphics to create a pattern brush. It can only be done using an image file and apply it to an ImageBrush with TileMode="Tile" and the appropriate Viewport.
<Rectangle Width="400" Height="50" Stroke="Red" Margin="0,100,0,0">
  <Rectangle.Fill>
    <ImageBrush ImageSource="Images/arrow.png" TileMode="Tile" Viewport="0,0,0.1,1" Viewbox="0,0,0.25,1" Stretch="Uniform"/>
  </Rectangle.Fill>
</Rectangle>
In the future it will also be possible to use a VisualBrush, and we also want to implement the DrawingBrush that I think it is ideal for this scenarios.
Could you please report it in our bugtracker?

Thanks.
 
Wanderer
Topic Author
Posts: 168
Joined: 08 May 2017, 18:36

Re: Repeated Graphic (texture like, patern in inkscape)

13 Dec 2017, 12:39

Now it is in bugtracker.
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Repeated Graphic (texture like, patern in inkscape)

19 Dec 2017, 05:04

Thanks!

Who is online

Users browsing this forum: Google [Bot] and 70 guests