@amoy/constraint
TypeScript icon, indicating that this package has built-in type declarations

0.2.22 • Public • Published

@amoy/constraint

constrain for pixi.js.

Get Started

npm i @amoy/constraint
# or
yarn add @amoy/constraint

API

  • .putCenter(offsetX: number = 0, offsetY: number = 0)
  • .putLeft(offsetX: number = 0)
  • .putRight(offsetX: number = 0)
  • .putTop(offsetY: number = 0)
  • .putBottom(offsetY: number = 0)

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i @amoy/constraint

    Weekly Downloads

    0

    Version

    0.2.22

    License

    MIT

    Unpacked Size

    52.2 kB

    Total Files

    21

    Last publish

    Collaborators

    • justclear
    • paopaocat
    • toadwoo
    • warmrabbit
    • xd_tayde