perfect-freehand
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -0,1 +1,5 @@ | ||
## 0.4.4 | ||
- Fixes typings. | ||
## 0.4.3 | ||
@@ -2,0 +6,0 @@ |
export interface StrokeOptions { | ||
size: number; | ||
thinning: number; | ||
smoothing: number; | ||
streamline: number; | ||
easing: (pressure: number) => number; | ||
simulatePressure: boolean; | ||
start: { | ||
taper: number; | ||
easing: (distance: number) => number; | ||
size?: number; | ||
thinning?: number; | ||
smoothing?: number; | ||
streamline?: number; | ||
easing?: (pressure: number) => number; | ||
simulatePressure?: boolean; | ||
start?: { | ||
taper?: number; | ||
easing?: (distance: number) => number; | ||
}; | ||
end: { | ||
taper: number; | ||
easing: (distance: number) => number; | ||
end?: { | ||
taper?: number; | ||
easing?: (distance: number) => number; | ||
}; | ||
last: boolean; | ||
last?: boolean; | ||
} | ||
@@ -18,0 +18,0 @@ export interface StrokePoint { |
{ | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"name": "perfect-freehand", | ||
@@ -4,0 +4,0 @@ "author": { |
export interface StrokeOptions { | ||
size: number | ||
thinning: number | ||
smoothing: number | ||
streamline: number | ||
easing: (pressure: number) => number | ||
simulatePressure: boolean | ||
start: { | ||
taper: number | ||
easing: (distance: number) => number | ||
size?: number | ||
thinning?: number | ||
smoothing?: number | ||
streamline?: number | ||
easing?: (pressure: number) => number | ||
simulatePressure?: boolean | ||
start?: { | ||
taper?: number | ||
easing?: (distance: number) => number | ||
} | ||
end: { | ||
taper: number | ||
easing: (distance: number) => number | ||
end?: { | ||
taper?: number | ||
easing?: (distance: number) => number | ||
} | ||
last: boolean | ||
last?: boolean | ||
} | ||
@@ -18,0 +18,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156203