Skip to content

Commit a4e05bb

Browse files
committed
AE: Fix incorrect anchor/position/scale property types
1 parent bf92368 commit a4e05bb

File tree

18 files changed

+108
-108
lines changed

18 files changed

+108
-108
lines changed

AfterEffects/10.5/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,12 +1293,12 @@ declare class Layer extends PropertyGroup {
12931293
readonly transform: _TransformGroup
12941294

12951295
/** Transform shortcuts */
1296-
readonly anchorPoint: OneDProperty | TwoDProperty
1297-
readonly position: OneDProperty | TwoDProperty
1296+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1297+
readonly position: TwoDProperty | ThreeDProperty
12981298
readonly xPosition: OneDProperty
12991299
readonly yPosition: OneDProperty
13001300
readonly zPosition: OneDProperty
1301-
readonly scale: OneDProperty | TwoDProperty
1301+
readonly scale: TwoDProperty | ThreeDProperty
13021302
readonly orientation: ThreeDProperty
13031303
readonly rotation: OneDProperty
13041304
readonly xRotation: OneDProperty
@@ -2175,12 +2175,12 @@ declare class TextLayer extends AVLayer {
21752175
* Properties for Shortcuts
21762176
*/
21772177
declare interface _TransformGroup extends PropertyGroup {
2178-
readonly anchorPoint: OneDProperty | TwoDProperty
2179-
readonly position: OneDProperty | TwoDProperty
2178+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2179+
readonly position: TwoDProperty | ThreeDProperty
21802180
readonly xPosition: OneDProperty
21812181
readonly yPosition: OneDProperty
21822182
readonly zPosition: OneDProperty
2183-
readonly scale: OneDProperty | TwoDProperty
2183+
readonly scale: TwoDProperty | ThreeDProperty
21842184
readonly orientation: ThreeDProperty
21852185
readonly rotation: OneDProperty
21862186
readonly xRotation: OneDProperty

AfterEffects/11.0/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,12 +1329,12 @@ declare class Layer extends PropertyGroup {
13291329
readonly transform: _TransformGroup
13301330

13311331
/** Transform shortcuts */
1332-
readonly anchorPoint: OneDProperty | TwoDProperty
1333-
readonly position: OneDProperty | TwoDProperty
1332+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1333+
readonly position: TwoDProperty | ThreeDProperty
13341334
readonly xPosition: OneDProperty
13351335
readonly yPosition: OneDProperty
13361336
readonly zPosition: OneDProperty
1337-
readonly scale: OneDProperty | TwoDProperty
1337+
readonly scale: TwoDProperty | ThreeDProperty
13381338
readonly orientation: ThreeDProperty
13391339
readonly rotation: OneDProperty
13401340
readonly xRotation: OneDProperty
@@ -2271,12 +2271,12 @@ declare class ViewOptions {
22712271
* Properties for Shortcuts
22722272
*/
22732273
declare interface _TransformGroup extends PropertyGroup {
2274-
readonly anchorPoint: OneDProperty | TwoDProperty
2275-
readonly position: OneDProperty | TwoDProperty
2274+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2275+
readonly position: TwoDProperty | ThreeDProperty
22762276
readonly xPosition: OneDProperty
22772277
readonly yPosition: OneDProperty
22782278
readonly zPosition: OneDProperty
2279-
readonly scale: OneDProperty | TwoDProperty
2279+
readonly scale: TwoDProperty | ThreeDProperty
22802280
readonly orientation: ThreeDProperty
22812281
readonly rotation: OneDProperty
22822282
readonly xRotation: OneDProperty

AfterEffects/12.0/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,12 +1349,12 @@ declare class Layer extends PropertyGroup {
13491349
readonly transform: _TransformGroup
13501350

13511351
/** Transform shortcuts */
1352-
readonly anchorPoint: OneDProperty | TwoDProperty
1353-
readonly position: OneDProperty | TwoDProperty
1352+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1353+
readonly position: TwoDProperty | ThreeDProperty
13541354
readonly xPosition: OneDProperty
13551355
readonly yPosition: OneDProperty
13561356
readonly zPosition: OneDProperty
1357-
readonly scale: OneDProperty | TwoDProperty
1357+
readonly scale: TwoDProperty | ThreeDProperty
13581358
readonly orientation: ThreeDProperty
13591359
readonly rotation: OneDProperty
13601360
readonly xRotation: OneDProperty
@@ -2292,12 +2292,12 @@ declare class ViewOptions {
22922292
* Properties for Shortcuts
22932293
*/
22942294
declare interface _TransformGroup extends PropertyGroup {
2295-
readonly anchorPoint: OneDProperty | TwoDProperty
2296-
readonly position: OneDProperty | TwoDProperty
2295+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2296+
readonly position: TwoDProperty | ThreeDProperty
22972297
readonly xPosition: OneDProperty
22982298
readonly yPosition: OneDProperty
22992299
readonly zPosition: OneDProperty
2300-
readonly scale: OneDProperty | TwoDProperty
2300+
readonly scale: TwoDProperty | ThreeDProperty
23012301
readonly orientation: ThreeDProperty
23022302
readonly rotation: OneDProperty
23032303
readonly xRotation: OneDProperty

AfterEffects/13.0/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,12 +1358,12 @@ declare class Layer extends PropertyGroup {
13581358
readonly transform: _TransformGroup
13591359

13601360
/** Transform shortcuts */
1361-
readonly anchorPoint: OneDProperty | TwoDProperty
1362-
readonly position: OneDProperty | TwoDProperty
1361+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1362+
readonly position: TwoDProperty | ThreeDProperty
13631363
readonly xPosition: OneDProperty
13641364
readonly yPosition: OneDProperty
13651365
readonly zPosition: OneDProperty
1366-
readonly scale: OneDProperty | TwoDProperty
1366+
readonly scale: TwoDProperty | ThreeDProperty
13671367
readonly orientation: ThreeDProperty
13681368
readonly rotation: OneDProperty
13691369
readonly xRotation: OneDProperty
@@ -2348,12 +2348,12 @@ declare class ViewOptions {
23482348
* Properties for Shortcuts
23492349
*/
23502350
declare interface _TransformGroup extends PropertyGroup {
2351-
readonly anchorPoint: OneDProperty | TwoDProperty
2352-
readonly position: OneDProperty | TwoDProperty
2351+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2352+
readonly position: TwoDProperty | ThreeDProperty
23532353
readonly xPosition: OneDProperty
23542354
readonly yPosition: OneDProperty
23552355
readonly zPosition: OneDProperty
2356-
readonly scale: OneDProperty | TwoDProperty
2356+
readonly scale: TwoDProperty | ThreeDProperty
23572357
readonly orientation: ThreeDProperty
23582358
readonly rotation: OneDProperty
23592359
readonly xRotation: OneDProperty

AfterEffects/13.1/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,12 +1358,12 @@ declare class Layer extends PropertyGroup {
13581358
readonly transform: _TransformGroup
13591359

13601360
/** Transform shortcuts */
1361-
readonly anchorPoint: OneDProperty | TwoDProperty
1362-
readonly position: OneDProperty | TwoDProperty
1361+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1362+
readonly position: TwoDProperty | ThreeDProperty
13631363
readonly xPosition: OneDProperty
13641364
readonly yPosition: OneDProperty
13651365
readonly zPosition: OneDProperty
1366-
readonly scale: OneDProperty | TwoDProperty
1366+
readonly scale: TwoDProperty | ThreeDProperty
13671367
readonly orientation: ThreeDProperty
13681368
readonly rotation: OneDProperty
13691369
readonly xRotation: OneDProperty
@@ -2357,12 +2357,12 @@ declare class ViewOptions {
23572357
* Properties for Shortcuts
23582358
*/
23592359
declare interface _TransformGroup extends PropertyGroup {
2360-
readonly anchorPoint: OneDProperty | TwoDProperty
2361-
readonly position: OneDProperty | TwoDProperty
2360+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2361+
readonly position: TwoDProperty | ThreeDProperty
23622362
readonly xPosition: OneDProperty
23632363
readonly yPosition: OneDProperty
23642364
readonly zPosition: OneDProperty
2365-
readonly scale: OneDProperty | TwoDProperty
2365+
readonly scale: TwoDProperty | ThreeDProperty
23662366
readonly orientation: ThreeDProperty
23672367
readonly rotation: OneDProperty
23682368
readonly xRotation: OneDProperty

AfterEffects/13.2/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,12 +1364,12 @@ declare class Layer extends PropertyGroup {
13641364
readonly transform: _TransformGroup
13651365

13661366
/** Transform shortcuts */
1367-
readonly anchorPoint: OneDProperty | TwoDProperty
1368-
readonly position: OneDProperty | TwoDProperty
1367+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1368+
readonly position: TwoDProperty | ThreeDProperty
13691369
readonly xPosition: OneDProperty
13701370
readonly yPosition: OneDProperty
13711371
readonly zPosition: OneDProperty
1372-
readonly scale: OneDProperty | TwoDProperty
1372+
readonly scale: TwoDProperty | ThreeDProperty
13731373
readonly orientation: ThreeDProperty
13741374
readonly rotation: OneDProperty
13751375
readonly xRotation: OneDProperty
@@ -2396,12 +2396,12 @@ declare class ViewOptions {
23962396
* Properties for Shortcuts
23972397
*/
23982398
declare interface _TransformGroup extends PropertyGroup {
2399-
readonly anchorPoint: OneDProperty | TwoDProperty
2400-
readonly position: OneDProperty | TwoDProperty
2399+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2400+
readonly position: TwoDProperty | ThreeDProperty
24012401
readonly xPosition: OneDProperty
24022402
readonly yPosition: OneDProperty
24032403
readonly zPosition: OneDProperty
2404-
readonly scale: OneDProperty | TwoDProperty
2404+
readonly scale: TwoDProperty | ThreeDProperty
24052405
readonly orientation: ThreeDProperty
24062406
readonly rotation: OneDProperty
24072407
readonly xRotation: OneDProperty

AfterEffects/13.6/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,12 +1369,12 @@ declare class Layer extends PropertyGroup {
13691369
readonly transform: _TransformGroup
13701370

13711371
/** Transform shortcuts */
1372-
readonly anchorPoint: OneDProperty | TwoDProperty
1373-
readonly position: OneDProperty | TwoDProperty
1372+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1373+
readonly position: TwoDProperty | ThreeDProperty
13741374
readonly xPosition: OneDProperty
13751375
readonly yPosition: OneDProperty
13761376
readonly zPosition: OneDProperty
1377-
readonly scale: OneDProperty | TwoDProperty
1377+
readonly scale: TwoDProperty | ThreeDProperty
13781378
readonly orientation: ThreeDProperty
13791379
readonly rotation: OneDProperty
13801380
readonly xRotation: OneDProperty
@@ -2404,12 +2404,12 @@ declare class ViewOptions {
24042404
* Properties for Shortcuts
24052405
*/
24062406
declare interface _TransformGroup extends PropertyGroup {
2407-
readonly anchorPoint: OneDProperty | TwoDProperty
2408-
readonly position: OneDProperty | TwoDProperty
2407+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2408+
readonly position: TwoDProperty | ThreeDProperty
24092409
readonly xPosition: OneDProperty
24102410
readonly yPosition: OneDProperty
24112411
readonly zPosition: OneDProperty
2412-
readonly scale: OneDProperty | TwoDProperty
2412+
readonly scale: TwoDProperty | ThreeDProperty
24132413
readonly orientation: ThreeDProperty
24142414
readonly rotation: OneDProperty
24152415
readonly xRotation: OneDProperty

AfterEffects/13.8/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,12 +1379,12 @@ declare class Layer extends PropertyGroup {
13791379
readonly transform: _TransformGroup
13801380

13811381
/** Transform shortcuts */
1382-
readonly anchorPoint: OneDProperty | TwoDProperty
1383-
readonly position: OneDProperty | TwoDProperty
1382+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1383+
readonly position: TwoDProperty | ThreeDProperty
13841384
readonly xPosition: OneDProperty
13851385
readonly yPosition: OneDProperty
13861386
readonly zPosition: OneDProperty
1387-
readonly scale: OneDProperty | TwoDProperty
1387+
readonly scale: TwoDProperty | ThreeDProperty
13881388
readonly orientation: ThreeDProperty
13891389
readonly rotation: OneDProperty
13901390
readonly xRotation: OneDProperty
@@ -2417,12 +2417,12 @@ declare class ViewOptions {
24172417
* Properties for Shortcuts
24182418
*/
24192419
declare interface _TransformGroup extends PropertyGroup {
2420-
readonly anchorPoint: OneDProperty | TwoDProperty
2421-
readonly position: OneDProperty | TwoDProperty
2420+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2421+
readonly position: TwoDProperty | ThreeDProperty
24222422
readonly xPosition: OneDProperty
24232423
readonly yPosition: OneDProperty
24242424
readonly zPosition: OneDProperty
2425-
readonly scale: OneDProperty | TwoDProperty
2425+
readonly scale: TwoDProperty | ThreeDProperty
24262426
readonly orientation: ThreeDProperty
24272427
readonly rotation: OneDProperty
24282428
readonly xRotation: OneDProperty

AfterEffects/14.0/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,12 +1428,12 @@ declare class Layer extends PropertyGroup {
14281428
readonly transform: _TransformGroup
14291429

14301430
/** Transform shortcuts */
1431-
readonly anchorPoint: OneDProperty | TwoDProperty
1432-
readonly position: OneDProperty | TwoDProperty
1431+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1432+
readonly position: TwoDProperty | ThreeDProperty
14331433
readonly xPosition: OneDProperty
14341434
readonly yPosition: OneDProperty
14351435
readonly zPosition: OneDProperty
1436-
readonly scale: OneDProperty | TwoDProperty
1436+
readonly scale: TwoDProperty | ThreeDProperty
14371437
readonly orientation: ThreeDProperty
14381438
readonly rotation: OneDProperty
14391439
readonly xRotation: OneDProperty
@@ -2472,12 +2472,12 @@ declare class ViewOptions {
24722472
* Properties for Shortcuts
24732473
*/
24742474
declare interface _TransformGroup extends PropertyGroup {
2475-
readonly anchorPoint: OneDProperty | TwoDProperty
2476-
readonly position: OneDProperty | TwoDProperty
2475+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2476+
readonly position: TwoDProperty | ThreeDProperty
24772477
readonly xPosition: OneDProperty
24782478
readonly yPosition: OneDProperty
24792479
readonly zPosition: OneDProperty
2480-
readonly scale: OneDProperty | TwoDProperty
2480+
readonly scale: TwoDProperty | ThreeDProperty
24812481
readonly orientation: ThreeDProperty
24822482
readonly rotation: OneDProperty
24832483
readonly xRotation: OneDProperty

AfterEffects/14.2/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,12 +1428,12 @@ declare class Layer extends PropertyGroup {
14281428
readonly transform: _TransformGroup
14291429

14301430
/** Transform shortcuts */
1431-
readonly anchorPoint: OneDProperty | TwoDProperty
1432-
readonly position: OneDProperty | TwoDProperty
1431+
readonly anchorPoint: TwoDProperty | ThreeDProperty
1432+
readonly position: TwoDProperty | ThreeDProperty
14331433
readonly xPosition: OneDProperty
14341434
readonly yPosition: OneDProperty
14351435
readonly zPosition: OneDProperty
1436-
readonly scale: OneDProperty | TwoDProperty
1436+
readonly scale: TwoDProperty | ThreeDProperty
14371437
readonly orientation: ThreeDProperty
14381438
readonly rotation: OneDProperty
14391439
readonly xRotation: OneDProperty
@@ -2520,12 +2520,12 @@ declare class ViewOptions {
25202520
* Properties for Shortcuts
25212521
*/
25222522
declare interface _TransformGroup extends PropertyGroup {
2523-
readonly anchorPoint: OneDProperty | TwoDProperty
2524-
readonly position: OneDProperty | TwoDProperty
2523+
readonly anchorPoint: TwoDProperty | ThreeDProperty
2524+
readonly position: TwoDProperty | ThreeDProperty
25252525
readonly xPosition: OneDProperty
25262526
readonly yPosition: OneDProperty
25272527
readonly zPosition: OneDProperty
2528-
readonly scale: OneDProperty | TwoDProperty
2528+
readonly scale: TwoDProperty | ThreeDProperty
25292529
readonly orientation: ThreeDProperty
25302530
readonly rotation: OneDProperty
25312531
readonly xRotation: OneDProperty

0 commit comments

Comments
 (0)