![]() |
|
#1
|
|||
|
|||
|
drawText - Wrap
how to use wrap parameter in drawText function. Could you please post with one example?
|
|
#2
|
||||
|
||||
|
// 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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|