# Ine/brush styles with lineTo

**URL:** <https://forum.kirupa.com/t/ine-brush-styles-with-lineto/226772>\
**Category:** Uncategorized\
**Created:** [May 23, 2007, 9:25pm UTC](https://forum.kirupa.com/t/ine-brush-styles-with-lineto/226772 "2007-05-23T21:25:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![plankguy](https://avatars.discourse-cdn.com/v4/letter/p/43a26b/32.png) [@plankguy](https://forum.kirupa.com/u/plankguy)\
**Post date:** [May 23, 2007, 9:25pm UTC](https://forum.kirupa.com/t/ine-brush-styles-with-lineto/226772/1 "2007-05-23T21:25:22Z")

</div>

I’m working on a little app that uses the drawing API quite a bit. I’d like to jazz up the line styles a little more than just color, weight, alpha. I was hoping there was a way to change the line style to one of the style options that you get when just drawing a line on the canvas (scribbled, dotted, etc…)???

```auto
lineStyle(thickness:Number, rgb:Number, alpha:Number, pixelHinting:Boolean, noScale:String, capsStyle:String, jointStyle:String, miterLimit:Number, brushStyle:String)

brushStyle = "scribble";

```

That would be ideal! :h:

I found the naming conventions for the line styles: Hairline, Normal, Dashed, Dotted, Ragged, Stippled, and Hatched. Now how to apply them?!?!?!??!?
