ContentMode

public enum ContentMode

Represents how a size adjusts itself to fit a target size.

  • none: Not scale the content.
  • aspectFit: Scales the content to fit the size of the view by maintaining the aspect ratio.
  • aspectFill: Scales the content to fill the size of the view.