func pngData(size: CGSize? = nil, scale: CGFloat = 1) -> Data?
s9SwiftDraw3SVGC7pngData4size5scale20FoundationEssentials0E0VSg0H06CGSizeVSg_AK7CGFloatVtF
3EMPX
import SwiftDraw
final class SVG
struct CGSize
@frozen struct CGFloat
@frozen struct Data
convenience init?(data: Data, options: SVG.Options = .default)
convenience init?(fileURL url: URL, options: SVG.Options = .default)
convenience init?(named name: String, in bundle: Bundle = Bundle.main, options: SVG.Options = .default)
static func pdfData(fileURL url: URL, size: CGSize? = nil) throws -> Data
let size: CGSize
func jpegData(size: CGSize? = nil, scale: CGFloat = 1, compressionQuality quality: CGFloat = 1) -> Data?
func pdfData(size: CGSize? = nil) -> Data?
struct Insets
struct Options