Skip to content

Type Alias: ICropRect ​

ts
type ICropRect = object;

Defined in: types/api.base.ts:719

The part of a picture to keep when uploading it, in the picture's own pixels once turned the right way up. Lets people frame a photo when they choose it rather than cropping it beforehand. Banner uploads may use negative x/y or extend beyond the source, adding padding. Other picture types must remain within the source bounds.

Properties ​

height ​

ts
height: number;

Defined in: types/api.base.ts:723


width ​

ts
width: number;

Defined in: types/api.base.ts:722


x ​

ts
x: number;

Defined in: types/api.base.ts:720


y ​

ts
y: number;

Defined in: types/api.base.ts:721

Released under the GNU Affero General Public License v3.0.