mercredi 1 mars 2017

Is there a way to use a bitmap fill as the stroke of a rectangle?

Using the Rect primitive you can define a fill using bitmap data like so.

<!-- Draw rectangle that is filled with a repeating bitmap. --> 
<s:Rect height="100" width="200">                              
        <s:SolidColorStroke color="0x000000" weight="2"/> 

That looks like this:

enter image description here

Is there a way to set define a bitmap fill for the border stroke (and the center is transparent)?

Aucun commentaire:

Enregistrer un commentaire