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

resolve(_:)

Returns a version of a shading resolved with the current values of the graphics context’s environment.

Declaration 宣言

func resolve(_ shading: GraphicsContext.Shading) -> GraphicsContext.Shading

Discussion 議論

Calling this function once and then drawing multiple times with the result will often have less overhead than drawing with the original shading multiple times.

See Also 参照

Drawing a Path