mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Merge pull request #31241 from aecz/master
[paper] Fix type of scaling property from number to Point
This commit is contained in:
Vendored
+1
-1
@@ -4865,7 +4865,7 @@ declare module paper {
|
||||
/**
|
||||
* The current scale factor of the view, as described by its matrix.
|
||||
*/
|
||||
scaling: number;
|
||||
scaling: Point;
|
||||
|
||||
/**
|
||||
* The view’s transformation matrix, defining the view onto the project’s contents (position, zoom level, rotation, etc).
|
||||
|
||||
@@ -79,6 +79,8 @@ hitTestResults = paper.project.hitTestAll(hitTestPoint, hitOptionsInterfaceEmpty
|
||||
hitTestResults = paper.project.hitTestAll(hitTestPoint, hitOptionsInterfacePartial);
|
||||
hitTestResults = paper.project.hitTestAll(hitTestPoint, hitOptionsInterfaceFull);
|
||||
|
||||
paper.view.scaling = new paper.Point(1, 1);
|
||||
|
||||
function Examples() {
|
||||
function BooleanOperations(){
|
||||
let text = new paper.PointText({
|
||||
|
||||
Reference in New Issue
Block a user