メインコンテンツまでスキップ
バージョン:25.2

topCenter

  • function

  • new in 1.40

  • returns the coordinates of the point at the center of the top edge of a rectangle

  • Synonyms: centerTop (new in 1.81)

  • Examples: +

     put the topCenter of [440,27,800,230] —> [620,27]
  • Related: top, center, centerTop