feat(ImageSource): resize method (#8678)

This commit is contained in:
Ken Southerland
2020-06-29 22:17:39 -07:00
committed by GitHub
parent b5b2db9093
commit bd12bafb4a
6 changed files with 86 additions and 0 deletions

View File

@@ -1198,6 +1198,8 @@ export class ImageSource {
// @deprecated (undocumented)
loadFromResource(name: string): boolean;
resize(maxSize: number, options?: any): ImageSource;
rotationAngle: number;
saveToFile(path: string, format: "png" | "jpeg" | "jpg", quality?: number): boolean;