Highlighted

use BitmapData.draw() with BlendMode.ADD cause some borderline?

New Here ,
Sep 02, 2013

Copy link to clipboard

Copied

Hi,every body

I'm trying to draw some circles in a bitmapdata with the BitmapData.draw() method.

when use the BlendMode.NORMAL everything is OK

but when I try with the BlendMode.ADD some borderlines appear.

{B9044B78-7940-492E-8605-A0869A4DC547}.png

the main code in following lines:

function drawOneCircle():void

{

    _matrix.identity();

    _matrix.rotate( circle.rotation );

    _matrix.scale( circle.scale, circle.scale );

    _matrix.translate( circle.x, circle.y );

           

    _colorTransform.color = circle.color;

    _colorTransform.alphaMultiplier = circle.alpha;           

    _bitmapData.draw( bdParticle, _matrix, _colorTransform, BlendMode.ADD, null, true );

}

can anyone help?

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

use BitmapData.draw() with BlendMode.ADD cause some borderline?

New Here ,
Sep 02, 2013

Copy link to clipboard

Copied

Hi,every body

I'm trying to draw some circles in a bitmapdata with the BitmapData.draw() method.

when use the BlendMode.NORMAL everything is OK

but when I try with the BlendMode.ADD some borderlines appear.

{B9044B78-7940-492E-8605-A0869A4DC547}.png

the main code in following lines:

function drawOneCircle():void

{

    _matrix.identity();

    _matrix.rotate( circle.rotation );

    _matrix.scale( circle.scale, circle.scale );

    _matrix.translate( circle.x, circle.y );

           

    _colorTransform.color = circle.color;

    _colorTransform.alphaMultiplier = circle.alpha;           

    _bitmapData.draw( bdParticle, _matrix, _colorTransform, BlendMode.ADD, null, true );

}

can anyone help?

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 02, 2013 0
Most Valuable Participant ,
Sep 02, 2013

Copy link to clipboard

Copied

This forum is only to discuss how the forums operate, not products

If you go to the Forums Index http://forums.adobe.com/index.jspa

You will be able to select a forum for the Adobe product you use

Added... continued in http://forums.adobe.com/thread/500916

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 02, 2013 0