Structures

The following structures are available globally.

  • Encapsulates the entire Sketch document

    See more

    Declaration

    Swift

    public struct Document
  • Represents a linear gradient in Sketch. Contained inside a Shape

    See more

    Declaration

    Swift

    public struct Gradient
  • Represents a Shadow that can be attached to any Layer

    See more

    Declaration

    Swift

    public struct Shadow