1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-11-11 01:42:35 +03:00
Macaw/Source/svg/SVGCanvas.swift
2018-04-11 22:38:23 +07:00

22 lines
359 B
Swift

//
// SVGCanvas.swift
// Macaw
//
// Created by Yuri Strot on 4/11/18.
//
class SVGCanvas: Group {
private let svgBounds: Rect
override internal func bounds() -> Rect? {
return svgBounds
}
public init(bounds: Rect, contents: [Node] = []) {
self.svgBounds = bounds
super.init(contents: contents)
}
}