diff --git a/Sources/TokamakCore/Shapes/StrokeStyle.swift b/Sources/TokamakCore/Shapes/StrokeStyle.swift index e05bdd276..b3bb8598c 100644 --- a/Sources/TokamakCore/Shapes/StrokeStyle.swift +++ b/Sources/TokamakCore/Shapes/StrokeStyle.swift @@ -17,6 +17,10 @@ import Foundation +#if canImport(CoreGraphics) +import CoreGraphics +#endif + public struct StrokeStyle: Equatable { public var lineWidth: CGFloat public var lineCap: CGLineCap