ContentMode

public enum ContentMode

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

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