Document

class Document

documentation for classes (update this)

  • property documentation (update this)

    Declaration

    var name: String { get }
  • The object’s description

    Declaration

    var description: String { get }
  • Creates a list of all images in a timeline.

    Gathers all image layer images and shape layer images in their initial state and forms a union between both sets of images.

    Declaration

    func images(forTimeline timeline: Timeline) -> Array

    Parameters

    timeline

    The Timeline containing the images that will be collected.

    Return Value

    Returns an Array of images that were in the Timeline.

  • Creates a list of all fonts used in a timeline.

    Iterates through all textLayers in a scene and inerts all fonts of that text layer into a unified list.

    Declaration

    func fonts(forTimeline timeline: Timeline) -> Array

    Parameters

    timeline

    The Timeline containing the fonts that will be collected.

    Return Value

    Returns an Array of fonts that were in the Timeline.

  • Creates a list of all sounds used in a timeline.

    Iterates through all sounds tracks and inserts every sound used into a list of sounds.

    Declaration

    func sounds(forTimeline timeline: Timeline) -> Array

    Parameters

    timeline

    The timeline containing the sounds that will be collected.

    Return Value

    Returns an Array of sounds that were in the Timeline.