3.3.2.8. Struct Padding

3.3.2.8.1. Struct Documentation

struct Padding

Data class that represents the padding of an image.

Public Functions

Padding()
Padding(int top, int bottom, int left, int right, PaddingType type = PaddingType::kMirrorPadding)
~Padding()
Padding(const Padding&)
Padding &operator=(const Padding&)
Padding(Padding&&)
Padding &operator=(Padding&&)
bool IsEmpty() const

Public Members

int top = {0}
int bottom = {0}
int left = {0}
int right = {0}
PaddingType type = {PaddingType::kMirrorPadding}