Declaration

var background: GSLayer? { get set }

Declaration

@property (nonatomic, strong) GSLayer * background;

Declaration

pyobjc_instanceMethods.background() -> GSLayer
pyobjc_instanceMethods.setBackground_(background: GSLayer)

Discussion

Reading this property creates an empty background layer when needed. Use hasBackground()hasBackgroundhasBackground to check for an existing background without creating one. Set this property to nil to remove the stored background.

See Also

Background Layer