[Xerte] lazy question on drawRect

Dave Burnett d_b_burnett at hotmail.com
Thu Sep 30 22:56:18 BST 2010


Ok, I tried a dummy file and it looks like when I try to draw into an rs (like a checkbox) the default colour is yellow and lineweight 1.

The rs has a drawRect function, so I guess that's why it will accept the direction.

There is a setStyleProperty and updateStyleProperty in the rs.
Are those for addressing text styles only, or can I goose them to affect the drawRect?




From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Thu, 30 Sep 2010 16:29:51 +0100
Subject: RE: [Xerte] lazy question on drawRect
















Clear()

 

Then lineStyle()

 





From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: 30 September 2010 16:27

To: Xerte list

Subject: [Xerte] lazy question on drawRect





 



How do I change the colour of the outline of a code drawn artifact:





//engine[cboxArray[i]].beginFill(0xFF0000,100); //doesn't work

//engine[cboxArray[i]].lineStyle(3,0xFF0000,100); //doesn't work

engine[cboxArray[i]].drawRect(-3,-3,16,16);



Cheers,

Dave










This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.


This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.





_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100930/31cd259f/attachment.html


More information about the Xerte mailing list