Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is drawRoundRectComplex() not documented in ActionScript?

In studying actionscript 3's graphics class, I've come across the undocumented drawRoundRectComplex() method. It's a variant of drawRoundRect() but with 8 parameters, the final four being the diameter of each corner (x, y, width, height, top left, top right, bottom left, bottom right).

//example
var sp:Sprite = new Sprite();
sp.graphics.lineStyle(1, 0x000000);
sp.graphics.drawRoundRectComplex(0, 0, 200, 150, 110, 50, 0, 10);
addChild(sp);

this seems to be a pretty useful method, so i'm just curious if anyone knows of any reasons why adobe chose not to document it?

like image 285
Chunky Chunk Avatar asked Apr 08 '26 07:04

Chunky Chunk


1 Answers

I believe it's documented in the mx.utils.GraphicUtils class.

Link.

like image 179
Rev316 Avatar answered Apr 11 '26 01:04

Rev316



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!