Artboard
public class Artboard : LayerContainer
Represents a Sketch artboard Artboards act as containers for other layers
-
Background color of the artboard
Declaration
Swift
public let color: Color -
Constructs an Artboard that contains the given layers
Parameters
nameName of the artboard in Sketch
layersList of layers that are contained inside the artboard
frameFrame of the arboard within the page
colorBackground color of the artboard
-
Declaration
Swift
public required init?(json: [String : Any]) -
Undocumented
Declaration
Swift
override public func toJson() -> [String : Any]
Artboard Class Reference