Page

public struct Page

Represents a Page inside a Sketch Document

  • Child layers displayed inside the Page

    Declaration

    Swift

    public let layers: [Layer]
  • Name of the Page as it appears in Sketch

    Declaration

    Swift

    public let name: String
  • Creates a Page to be used inside of a Document

    Declaration

    Swift

    public init(name: String, layers: [Layer])

    Parameters

    name

    Name of the Page as it appears in Sketch

    layers

    Child layers displayed inside the Page