Add rotationX and rotationY
This commit is contained in:
@@ -465,6 +465,14 @@ var View = /** @class */ (function () {
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotation", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotationX", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotationY", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
|
@@ -382,6 +382,14 @@ let View = /** @class */ (() => {
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotation", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotationX", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotationY", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
|
@@ -1841,6 +1841,14 @@ let View = /** @class */ (() => {
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotation", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotationX", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotationY", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
|
11
doric-js/index.d.ts
vendored
11
doric-js/index.d.ts
vendored
@@ -220,8 +220,19 @@ declare module 'doric/lib/src/ui/view' {
|
||||
pivotY?: number;
|
||||
/**
|
||||
* rotation*PI
|
||||
* In Z
|
||||
*/
|
||||
rotation?: number;
|
||||
/**
|
||||
* rotation*PI
|
||||
* In X
|
||||
*/
|
||||
rotationX?: number;
|
||||
/**
|
||||
* rotation*PI
|
||||
* In Y
|
||||
*/
|
||||
rotationY?: number;
|
||||
/**
|
||||
* Only affected when its superview or itself is FlexLayout.
|
||||
*/
|
||||
|
11
doric-js/lib/src/ui/view.d.ts
vendored
11
doric-js/lib/src/ui/view.d.ts
vendored
@@ -103,8 +103,19 @@ export declare abstract class View implements Modeling {
|
||||
pivotY?: number;
|
||||
/**
|
||||
* rotation*PI
|
||||
* In Z
|
||||
*/
|
||||
rotation?: number;
|
||||
/**
|
||||
* rotation*PI
|
||||
* In X
|
||||
*/
|
||||
rotationX?: number;
|
||||
/**
|
||||
* rotation*PI
|
||||
* In Y
|
||||
*/
|
||||
rotationY?: number;
|
||||
/**----------transform----------*/
|
||||
/**
|
||||
* Only affected when its superview or itself is FlexLayout.
|
||||
|
@@ -267,6 +267,14 @@ let View = /** @class */ (() => {
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotation", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotationX", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Number)
|
||||
], View.prototype, "rotationY", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Object)
|
||||
|
@@ -297,6 +297,19 @@ export abstract class View implements Modeling {
|
||||
|
||||
@Property
|
||||
rotation?: number
|
||||
|
||||
/**
|
||||
* rotation*PI
|
||||
* In X
|
||||
*/
|
||||
@Property
|
||||
rotationX?: number
|
||||
/**
|
||||
* rotation*PI
|
||||
* In Y
|
||||
*/
|
||||
@Property
|
||||
rotationY?: number
|
||||
/**----------transform----------*/
|
||||
|
||||
@Property
|
||||
|
@@ -295,9 +295,22 @@ export abstract class View implements Modeling {
|
||||
pivotY?: number
|
||||
/**
|
||||
* rotation*PI
|
||||
* In Z
|
||||
*/
|
||||
@Property
|
||||
rotation?: number
|
||||
/**
|
||||
* rotation*PI
|
||||
* In X
|
||||
*/
|
||||
@Property
|
||||
rotationX?: number
|
||||
/**
|
||||
* rotation*PI
|
||||
* In Y
|
||||
*/
|
||||
@Property
|
||||
rotationY?: number
|
||||
/**----------transform----------*/
|
||||
/**
|
||||
* Only affected when its superview or itself is FlexLayout.
|
||||
|
Reference in New Issue
Block a user