Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 12:45 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: how to ... change colour of a line.. and..
PostPosted: October 12th, 2013, 11:26 am 
Offline

Joined: September 29th, 2006, 3:12 am
Posts: 39
hi

Does anyone know how to:

1- Change a dashed line (vector) into a full line or viceversa with script?

2- Change a line colour by script?

thanks


Top
 Profile  
 
 Post subject: Re: how to ... change colour of a line.. and..
PostPosted: October 14th, 2013, 11:34 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
S,

I think there was some discussion of line-drawing some time ago when this feature was first introduced. If I recall, you basically need to re-draw the line. So essentially, set parameters for solid versus dashed, and choice of color, and then call the draw function on the applicable frame object. Depending on your intentions and needs, you could 'loop' to redraw, or use other triggers of course.

I may be wrong in the above, and I have not built a Pub where I had a need to draw lines/polygons --- so do a search and verify from previous discussions.

The above comment applies I think to how OpusPro managed those commands up until now. If I understand HTML5, coming soon, html5 need to redraw everything anytime anything changes. I would guess that OpusPro new version takes care of that regeneration if necessary.

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group