Equilibrium Support Forums  

Go Back   Equilibrium Support Forums > MediaRich

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-23-2010, 05:34 AM
mediarichforbk mediarichforbk is offline
Registered User
 
Join Date: Feb 2010
Posts: 8
drawText - Wrap

how to use wrap parameter in drawText function. Could you please post with one example?
Reply With Quote
  #2  
Old 07-23-2010, 07:49 AM
eq support's Avatar
eq support eq support is offline
Super Moderator
 
Join Date: May 2003
Posts: 143
// Declare new media.
image = new Media();
// Load image.
image.load(name @ "<path/name>");
// Draw text on the image and wrap to the next line down at the first word that
// reaches or passes 150 pixels from the start of each line.
image.drawText(text @ "This song is just six words long.", font @ "arial", wrap @ 150);
// Save the resulting image.
image.save(name @ "<path/name>");
__________________
Equilibrium Tech Support
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:36 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2009 Automated Media Processing Solutions, Inc. All Rights Reserved.