imageReplaceMethod property

String? imageReplaceMethod
getter/setter pair

The replacement method. Possible string values are:

  • "IMAGE_REPLACE_METHOD_UNSPECIFIED" : Unspecified image replace method. This value must not be used.
  • "CENTER_INSIDE" : Scales and centers the image to fit within the bounds of the original shape and maintains the image's aspect ratio. The rendered size of the image may be smaller than the size of the shape. This is the default method when one is not specified.
  • "CENTER_CROP" : Scales and centers the image to fill the bounds of the original shape. The image may be cropped in order to fill the shape. The rendered size of the image will be the same as the original shape.

Implementation

core.String? imageReplaceMethod;