Instance Property
background
Editable background content associated with the layer.
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
Editable background content associated with a foreground layer.
Whether a background layer has been created.
Copies shapes and anchors to the corresponding foreground or background layer.
Exchanges shapes, anchors, and hints between the foreground and background layers.