Image

public struct Image : View

A view that displays an image.

  • Declaration

    Swift

    public typealias Body = Never
  • Creates an Image with the specified file name / path.

    Declaration

    Swift

    public init(_ name: String)
  • Returns a resizable version of this image instance.

    Declaration

    Swift

    public func resizable() -> Image
  • Declaration

    Swift

    public func html(forHTMLOfSubnodes htmlOfSubnodes: [HTMLNode]) -> HTMLNode