Types-for-Adobe icon indicating copy to clipboard operation
Types-for-Adobe copied to clipboard

illusrator: Missing `ElementPlacement`.

Open YukiWorks432 opened this issue 6 months ago • 3 comments

There is no ElementPlacement.

https://ai-scripting.docsforadobe.dev/jsobjref/scripting-constants/?h=elementplacement#elementplacement

YukiWorks432 avatar May 12 '25 13:05 YukiWorks432

Feel free to open a PR!

zlovatt avatar May 12 '25 13:05 zlovatt

I don't know how to do PR. Perhaps something like this should be added:

/**
 * Location to move element to.
 * @see https://ai-scripting.docsforadobe.dev/jsobjref/scripting-constants/?h=elementplacement#elementplacement
 */
declare const ElementPlacement: {
  /**
   * Inside
   */
  readonly INSIDE: Object
  /**
   * Place After
   */
  readonly PLACEAFTER: Object
  /**
   * Place At Beginning
   */
  readonly PLACEATBEGINNING: Object
  /**
   * Place At End
   */
  readonly PLACEATEND: Object
  /**
   * Place Before
   */
  readonly PLACEBEFORE: Object
}

YukiWorks432 avatar May 12 '25 14:05 YukiWorks432

#144 I created a PR.

YukiWorks432 avatar May 12 '25 14:05 YukiWorks432