# Custom Brush - lineBitmapStyle tiling

**URL:** <https://forum.kirupa.com/t/custom-brush-linebitmapstyle-tiling/308922>\
**Category:** flash\
**Created:** [May 3, 2010, 1:00pm UTC](https://forum.kirupa.com/t/custom-brush-linebitmapstyle-tiling/308922 "2010-05-03T13:00:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![omnivibe](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@omnivibe](https://forum.kirupa.com/u/omnivibe)\
**Post date:** [May 3, 2010, 1:00pm UTC](https://forum.kirupa.com/t/custom-brush-linebitmapstyle-tiling/308922/1 "2010-05-03T13:00:41Z")

</div>

I am trying to make a dynamic brush simply based on a bitmap in the library (sortof like how you can set a brush in photoshop).

However- when I have tiling=true, it looks very unorganic, simply “revealing” a tiled repetition of the bitmap.

I think setting tiling=false uses the same mentality, just revealing a single large bitmap.

Any hints on how to efficiently make a dynamic brush in as3 (i.e. paint a particular bitmap along the path of mouse movement)?

I guess I could just draw the bitmap to the canvas at current x,y, or all along the path of movement… but I like the idea of just using lineBitmapStyle…
