resolveBackgroundRepeat static method
Implementation
static CSSBackgroundRepeatType resolveBackgroundRepeat(String value) {
switch (value) {
case REPEAT_X:
return CSSBackgroundRepeatType.repeatX;
case REPEAT_Y:
return CSSBackgroundRepeatType.repeatY;
case NO_REPEAT:
return CSSBackgroundRepeatType.noRepeat;
case REPEAT:
default:
return CSSBackgroundRepeatType.repeat;
}
}