Ah well, just answered my own question by opening up the class file and looking:

function drawRect(x1:Number, y1:Number, x2:Number, y2:Number, r):Void
{
moveTo(x1,y1);
lineTo(x2,y1);
lineTo(x2,y2);
lineTo(x1,y2);
lineTo(x1,y1);
}

r is simply ignored. Looks like a documentation problem.


At 02:46 PM 5/5/2004, you wrote:
has anyone had any luck using the 5th argument (corner radius) of the
drawRect method of UIObject in flex?

According to the docs:
r - Corner radius of the rectangle or object containing radii for each corner.

I'm seeing identical results if i passing in "0" as I am passing in
"50000" is this a documentation error, or is it really possible to specify
a corner radius for drawRect?


Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/SIG=129q7lnof/M=295196.4901138.6052515.3001176/D=groups/S=1705007207:HM/EXP=1083869198/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com> 4b8a989.jpg

[]



----------
Yahoo! Groups Links
* To visit your group on the web, go to:
* <http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/


*
* To unsubscribe from this group, send an email to:
* <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]


*
* Your use of Yahoo! Groups is subject to the <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.

<<inline: 4b8a989.jpg>>

Reply via email to