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
name
Name of the artboard in Sketch
layers
List of layers that are contained inside the artboard
frame
Frame of the arboard within the page
color
Background color of the artboard
-
Declaration
Swift
public required init?(json: [String : Any])
-
Undocumented
Declaration
Swift
override public func toJson() -> [String : Any]