Interface PreprocessingConfig.PadOrBuilder (1.59.0)

publicstaticinterfacePreprocessingConfig.PadOrBuilderextendsMessageOrBuilder

Methods

getBottomPixels()

publicabstractintgetBottomPixels()

The number of pixels to add to the bottom. The default is 0.

int32 bottom_pixels = 2;

Returns
TypeDescription
int

The bottomPixels.

getLeftPixels()

publicabstractintgetLeftPixels()

The number of pixels to add to the left. The default is 0.

int32 left_pixels = 3;

Returns
TypeDescription
int

The leftPixels.

getRightPixels()

publicabstractintgetRightPixels()

The number of pixels to add to the right. The default is 0.

int32 right_pixels = 4;

Returns
TypeDescription
int

The rightPixels.

getTopPixels()

publicabstractintgetTopPixels()

The number of pixels to add to the top. The default is 0.

int32 top_pixels = 1;

Returns
TypeDescription
int

The topPixels.