Files
Macaw/Source/model/geom2d/MoveTo.swift

11 lines
263 B
Swift

open class MoveTo: PathBuilder {
public init(_ x: Double, _ y: Double) {
super.init(segment: PathSegment(type: .M, data: [x, y]))
}
public init(x: Double, y: Double) {
super.init(segment: PathSegment(type: .M, data: [x, y]))
}
}