โฑ๐ง under construction
SwiftUI โฉ view โฉ modifier โฉ rendering modifier
Scale or mask a view, or apply graphical effects to a view.
Text("Clipped text in a circle") .frame(width: 175, height: 100) .foregroundColor(Color.white) .background(Color.black) .clipShape(Circle()) // โญ๏ธ rendering modifier
SwiftUI โฉ View fundamentals โฉ View โฉ rendering modifiers
.clipShape(_:style:) ๏ผ .cornerRadius() ๅทฒ็ถๅปขๆญข (deprecated)๏ผ็จๆญค modifier ไปฃๆฟ
.clipped(antialiased:)๏ผๅฐ view ็ชๅบ frame ็้จๅ่ฃๆ
.mask(alignment:_:)
Sarun โฉ What is the fixedSize modifier in SwiftUI
Last updated 1 month ago