NewAreaWidthHeight

Functionin imageoptocompute-sdk-go v1.11.0View source
func NewAreaWidthHeight(w, h PixelsOrPercentage) Area

NewAreaWidthHeight specifies an area with precise number of pixels.

Parameters

w: PixelsOrPercentage
h: PixelsOrPercentage

Returns