Skip to main content
Inspiring
December 28, 2023
Answered

[Q] MIrroring (reflect) with specification of mirror line?

  • December 28, 2023
  • 1 reply
  • 260 views

Hi,

 

When drawing things by hand in Illustrator, the Reflect (mirror) tool has got this wonderful feature: if you click with the option key held down, you specify where you want the mirror line to be.

 

Is this also possible in JavaScript? Or do I need to resort to matrix transformation?

 

Any help greatly appreciated.

 

Tom

This topic has been closed for replies.
Correct answer CarlosCanto

it's not possible to set the reflection point in Javascript.

 

You'll have to reflect and reposition separately

1 reply

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
December 28, 2023

it's not possible to set the reflection point in Javascript.

 

You'll have to reflect and reposition separately