Enumerationswhitty.swiftdraw 0.18.1SwiftDraw
API
CommandLine.Configuration.swift:60enum API
enum API
import SwiftDraw
enum CommandLine
case appkit
case uikit
static func makeImageInsets(for insets: CommandLine.Insets) throws -> SVG.Insets
static func makeSVGOptions(for config: Configuration) -> SVG.Options
static func makeTextAPI(for api: CommandLine.API?) -> CGTextRenderer.API
static func parseConfiguration(from args: [String], baseDirectory: URL) throws -> Configuration
static func processImage(_ image: SVG, with config: Configuration) throws -> Data
static func processImage(with config: Configuration) throws -> Data
struct Configuration
enum Error
enum Format
struct Insets
enum Scale
enum Size
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: String)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)