โฆ๏ธ.shadow()
โฑ๐ง under construction
SwiftUI โฉ ShapeStyle โฉ .shadow()
ShapeStyle.shadow()
(type method)
returns a new shape style created by applying the specified shadow style on the current style.
current style
้ๅธธๆ foreground styleใๅจ็นช่ฃฝๅๅฝขๆ๏ผ็ณป็ตฑๆไฝฟ็จ
foregroundColor
ไฝ็บ็ฎๅๆจฃๅผใๅฆๆๆญฃๅจ่จญ็ฝฎ background style๏ผ่ๆฏๆจฃๅผๅฐฑๆๆ็บ็ฎๅๆจฃๅผใ
ShapeStyle๏ผ
.shadow()
ๅช่ฝไฝ็จๅจๅ ถไธใShape๏ผshape.fill(content) ็ๅกซๅ ๆจฃๅผ content ๆฏ ShapeStyleใ
ShadowStyle๏ผ้ฐๅฝฑๆจฃๅผ
Last updated