Runt
2025-06-27 5e101b6d445d9bbff119d308c454c55d0a03de14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
//  IconLand.swift
//  LiveProject
//
//  Created by 倪路朋 on 6/25/25.
//
 
 
import SwiftUI
 
struct IconLandscape: View {
    var color: Color = .white
    var size: CGSize = CGSize(width: 20, height:15)
    var lineWidth: CGFloat = 2.0
 
    var body: some View {
        IconRect()
            .stroke(color, lineWidth: lineWidth)
            .frame(width: size.width, height: size.height)
    }
}
 
struct IconLandscape_Previews : PreviewProvider{
    static var previews: some View {
        IconLandscape(color: .black,size: CGSize(width: 90, height: 60))
    }
}