mirror of
https://github.com/exyte/Macaw.git
synced 2024-11-11 01:42:35 +03:00
22 lines
359 B
Swift
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)
|
|
}
|
|
|
|
}
|