• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Sep 02, 2013 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

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
community guidelines
Community Expert ,
Sep 02, 2013 Sep 02, 2013

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines