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‣ CBDLHSPVOE

Slide 7

Slide 7 text

7JFXͱҟͳΔେ͖͞ͷഎܠ Text("Text") .frame(maxWidth: .infinity, maxHeight: .infinity) .background( Color.orange ) 􀁠

Slide 8

Slide 8 text

7JFXͱҟͳΔେ͖͞ͷഎܠ ZStack { Color.orange .ignoresSafeArea() Text("Text") } 􀁢

Slide 9

Slide 9 text

7JFXͱಉ͡େ͖͞ͷഎܠ ZStack { Color.orange Text("Text") } .fixedSize(horizontal: true, vertical: true) 􀁠

Slide 10

Slide 10 text

7JFXͱಉ͡େ͖͞ͷഎܠ Text("Text") .background { Color.orange } 􀁢

Slide 11

Slide 11 text

CBDLHSPVOEͷछྨ ͜͜·ͰͷεϥΠυͰछྨͷCBDLHSPVOE͕ग़͖ͯ·ͨ͠ .background { Color.orange } .background( Color.orange )

Slide 12

Slide 12 text

CBDLHSPVOE\^ @inlinable public func background(alignment: Alignment = .center, @ViewBuilder content: () -> V) -> some View where V : View VStack { Spacer() Text("Text") .padding() .frame(maxWidth: .infinity) .background { Color.orange } }

Slide 13

Slide 13 text

CBDLHSPVOE @inlinable public func background(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle VStack { Spacer() Text("Text") .padding() .frame(maxWidth: .infinity) .background( Color.orange ) }

Slide 14

Slide 14 text

CBDLHSPVOE Text("Text") .padding() .background(Color.orange) .clipShape(RoundedRectangle(co rnerRadius: 16))

Slide 15

Slide 15 text

CBDLHSPVOE Text("Text") .padding() .background( Color.orange, in: RoundedRectangle(cornerRadius: 16) )

Slide 16

Slide 16 text

·ͱΊ ;4UBDLͱCBDLHSPVOEΛ࢖͍෼͚Δ͜ͱͰ w ϨΠΞ΢τ่Εͷ๷ࢭ w Մಡੑͷ޲্

Slide 17

Slide 17 text

ࢀߟ w IUUQTEFWFMPQFSBQQMFDPNEPDVNFOUBUJPOTXJGUVJBEEJOHB CBDLHSPVOEUPZPVSWJFX w IUUQTEFWFMPQFSBQQMFDPNEPDVNFOUBUJPOTXJGUVJ[TUBDL w IUUQTEFWFMPQFSBQQMFDPNEPDVNFOUBUJPOTXJGUVJWJFX CBDLHSPVOE @JHOPSFTTBGFBSFBFEHFT w IUUQTEFWFMPQFSBQQMFDPNEPDVNFOUBUJPOTXJGUVJWJFX CBDLHSPVOE BMJHONFOUDPOUFOU w IUUQT[FOOEFWTBNFLBSE@EFWBSUJDMFTDCDB