Are border lines in the Flash drawing API drawn inside or outside a shape?

Posted by Hanno Fietz on Stack Overflow See other posts from Stack Overflow or by Hanno Fietz
Published on 2010-05-03T13:43:42Z Indexed on 2010/05/03 13:48 UTC
Read the original article Hit count: 218

Filed under:
|
|
|

When I draw rectangles etc in ActionScript, using the Flash Player's drawing API (i. e. the Graphics class), is the border line of that shape drawn on the outside or the inside of the shape? I. e., which of the following diagrams correctly depicts a rectangle drawn a the border of a content area in a custom component?

Flash drawing question

© Stack Overflow or respective owner

Related posts about flex

Related posts about flash