WidthScene

public struct WidthScene : Equatable

Width scene.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Creates an instance of WidthScene

    Declaration

    Swift

    public init(scene: Double, width: Double)

    Parameters

    scene

    The scene level where the specified width should be used.

    width

    The width of the line to be created.

Public

  • The scene level where the specified width should be used.

    Declaration

    Swift

    public let scene: Double
  • The width of the line to be created.

    Declaration

    Swift

    public let width: Double