Skip navigation

AS3 graphics.drawPath versus moveTo, lineTo Methods - Preserving Transparency

New to Flash Player 10 method graphics.drawPath() speeds up runtime drawing
when multiple calls to lineTo() and moveTo() are required. Its behavior
when drawing semi-transparent lines is not ideal, though. Intersections
of transparent lines appear flattened, without the effect of transparent objects
overlapping. With moveTo and lineTo there is a way of preventing such behavior and
obtaining correct intersections.