Instance Method インスタンスメソッド

makeBody(configuration:)

Creates a view that represents the body of a button. ボタンのボディを表すビューを作成します。

Declaration 宣言

func makeBody(configuration: BorderedButtonStyle.Configuration) -> some View

Parameters パラメータ

configuration

The properties of the button. ボタンのプロパティ。

Discussion 議論

The system calls this method for each Button instance in a view hierarchy where this style is the current button style. システムは、このメソッドを、各Buttonインスタンスに対して、このスタイルが現在のボタンスタイルであるところのあるビュー階層において呼び出します。

See Also 参照

Rendering a Button ボタンを描出する