Contents

systemImage(_:tint:size:alignmentAnchor:)

Creates an image configuration using a system image.

Declaration

static func systemImage(_ name: String, tint: UIColor = .tintColor, size: CGSize? = nil, alignmentAnchor: CGPoint = .zero) -> MarkupAdornment.ImageConfiguration

Parameters

  • name:

    The SF Symbol name for the system image.

  • tint:

    The color to apply to the image. Defaults to the system tint color.

  • size:

    The size of the rendered image in points. Defaults to 48x48.

  • alignmentAnchor:

    The offset from the image center for positioning. Defaults to zero.

Return Value

An ImageConfiguration for the system image.

See Also

Creating an image configuration