resolveBackgroundOrigin static method
Implementation
static BackgroundBoundary resolveBackgroundOrigin(String value) {
switch (value) {
case 'border-box':
return BackgroundBoundary.borderBox;
case 'content-box':
return BackgroundBoundary.contentBox;
case 'padding-box':
default:
return BackgroundBoundary.paddingBox;
}
}