OffsetRect interface

A rectangle used for describing a subset of an image

Signature:

export interface OffsetRect

Properties

Property Type Description

height

number

the height of this rectangle

width

number

the width of this rectangle

x

number

The leftmost coordinate of the rect, where 0,0 is top left

y

number

The topmost coordinate of the rect, where 0,0 is top left