ImageView

public class ImageView : View

A view which renders a bitmap image within its bounds

  • Undocumented

    Declaration

    Swift

    public var image: Image? { get set }
  • The scaling mode to use when rendering an image that has a different size to the image view’s bounds.

    Defaults to ‘.topLeftAsIs’.

    Declaration

    Swift

    public var scalingMode: ImageScale
  • Declaration

    Swift

    public override var intrinsicSize: UISize? { get }
  • Undocumented

    Declaration

    Swift

    public init(image: Image?)
  • Declaration

    Swift

    public override func render(in renderer: Renderer, screenRegion: ClipRegionType)
  • Indicates the image scaling strategy to use when rendering an image that has a different size to the image view that contains it.

    See more

    Declaration

    Swift

    public enum ImageScale