js:add CenterX and CenterY
This commit is contained in:
parent
8d0a64090c
commit
e8a5c796bd
@ -92,6 +92,8 @@ export class Gravity implements Modeling {
|
||||
private static origin = new Gravity
|
||||
|
||||
static Center = Gravity.origin.center()
|
||||
static CenterX = Gravity.origin.centerX()
|
||||
static CenterY = Gravity.origin.centerY()
|
||||
static Left = Gravity.origin.left()
|
||||
static Right = Gravity.origin.right()
|
||||
static Top = Gravity.origin.top()
|
||||
|
Reference in New Issue
Block a user