SVGAsset

public struct SVGAsset : ThemeAsset

Defines an SVG image asset

  • The path to an SVG image.

    Declaration

    Swift

    public let path: String?
  • The size of the image.

    Declaration

    Swift

    public let size: CGSize
  • The type of asset (.svgImage).

    Declaration

    Swift

    public let type: AssetType
  • Returns a new SVGAsset

    Declaration

    Swift

    public init(path: String?, size: CGSize)