syntax = "proto3";

package com.wixpress.appservice.api.upstream.wix.forms.v4.components.common;
option java_package = "com.wixpress.appservice.api.upstream.wix.forms.v4.components.common";

import "google/protobuf/wrappers.proto";
import "wix/api/validations.proto";
import "wix/api/annotations.proto";

message ImageFitEnum {
    option (.wix.api.decomposite_of) = "wix.forms.v4.components.common.ImageFitEnum";
  enum ImageFit {
    UNKNOWN_IMAGE_FIT = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
    // Image is scaled to maintain its aspect ratio while filling the element's entire content box. Portions of the image may be clipped if the aspect ratios do not match.
    COVER = 1;
    // Image is resized to fill the element's content box. Aspect ratio may not be preserved.
    CONTAIN = 2;
  }
}
