Page 1 of 1

Repeated Graphic (texture like, patern in inkscape)

Posted: 04 Dec 2017, 23:48
by Wanderer
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.

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

Posted: 11 Dec 2017, 16:57
by sfernandez

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">
    <ImageBrush ImageSource="Images/arrow.png" TileMode="Tile" Viewport="0,0,0.1,1" Viewbox="0,0,0.25,1" Stretch="Uniform"/>
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?


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

Posted: 13 Dec 2017, 12:39
by Wanderer
Now it is in bugtracker.