replaceMethod property

  1. @Deprecated('Not supported. Member documentation may have more information.')
String? replaceMethod
getter/setter pair

The replace method.

Deprecated: use image_replace_method instead. If you specify both a replace_method and an image_replace_method, the image_replace_method takes precedence. Possible string values are:

  • "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 that of the original shape.

Implementation

@core.Deprecated(
  'Not supported. Member documentation may have more information.',
)
core.String? replaceMethod;