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

resolve(_:)

Gets a version of an image that’s fixed with the current values of the graphics context’s environment.

Declaration 宣言

func resolve(_ image: Image) -> GraphicsContext.ResolvedImage

Return Value 戻り値

An image that’s resolved into the current context’s environment, taking into account environment values like the display resolution and current color scheme.

Parameters パラメータ

image

The Image to resolve.

Discussion 議論

You can measure the resolved image by looking at its size and baseline properties. You can draw the resolved image with the context’s draw(_:in:style:) or draw(_:at:anchor:) method.

See Also 参照

Drawing an Image