Group
public class Group : LayerContainer
Represents a Group in Sketch. Container for other layer types.
-
Transparency applied to all elements inside the group
Declaration
Swift
public let alpha: CGFloat
-
Constructs a Group containing the given layers
Declaration
Parameters
frame
Frame of the Group inside its containing layer
layers
Child layers that are contained inside the group
alpha
Transparency applied to all elements inside the group
name
Name of the group in Sketch
shadow
optional shadow shown underneath the group, defaults to nil
-
Declaration
Swift
public required init?(json: [String : Any])
-
Undocumented
Declaration
Swift
override public func toJson() -> [String : Any]