Reply To: Superimposing Words on Pictures

PennController for IBEX Forums Support Superimposing Words on Pictures Reply To: Superimposing Words on Pictures

#10979
Jeremy
Keymaster

Hi,

Canvas elements allow for arbitrary positioning of elements. For example, this would print the word “hello” at the bottom-right corner of the image:

newCanvas("myCanvas", 200, 300)
  .add("center at 50%", "middle at 50%", newImage("myImage.png"))
  .add("right at 100%", "bottom at 100%", newText("hello"))
  .print()

Anyone still experiencing issues with PennController 2.1 is invited to downgrade to 2.0 following these instructions

Jeremy