Add rotationX and rotationY
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user