Skip to main content
Participant
September 2, 2013
Question

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

  • September 2, 2013
  • 1 reply
  • 1491 views

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.

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?

This topic has been closed for replies.

1 reply

John T Smith
Community Expert
Community Expert
September 2, 2013

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