# Rendering a feathered circle

**URL:** <https://forum.kirupa.com/t/rendering-a-feathered-circle/229513>\
**Category:** flash\
**Created:** [June 18, 2007, 5:20am UTC](https://forum.kirupa.com/t/rendering-a-feathered-circle/229513 "2007-06-18T05:20:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sirisian](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@Sirisian](https://forum.kirupa.com/u/Sirisian)\
**Post date:** [June 18, 2007, 5:20am UTC](https://forum.kirupa.com/t/rendering-a-feathered-circle/229513/1 "2007-06-18T05:20:59Z")

</div>

Okay I thought it would be easy to use the beginGradientFill to render a feathered circle, but I guess not.  
Using:

```auto

this.graphics.lineStyle(0, 0xFF00FF, 100);
this.graphics.beginGradientFill(GradientType.RADIAL,[0x000000, 0xFFFFFF],[1, 0],[0x00, 0xFF],new Matrix(1,0,0,1,250,250));
this.graphics.drawCircle(pointLights*.pos.x, pointLights*.pos.y, pointLights*.radius);
this.graphics.endFill();

```

I got this:  
[http://www.sirisian.templarian.com/pictures/featheredcircle.png](http://www.sirisian.templarian.com/pictures/featheredcircle.png)

I want to get this:  
[http://www.sirisian.templarian.com/pictures/featheredcircle2.png](http://www.sirisian.templarian.com/pictures/featheredcircle2.png)

Not sure exactly why I don’t. I mean the alpha goes from 1 to 0 so on the sides it should have a 0 alpha right? I mean it’s odd that it doesn’t. Anything seem wrong? I’ve been looking at the CS3 docs and they don’t seem to talk about this kind of thing much:  
[click](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#beginGradientFill%28%29)
