Instance Method
drawBackgroundImage(of:at:asActive:) drawBackgroundImageOfLayer:atPoint:asActive: drawBackgroundImageOfLayer_atPoint_asActive_
Draws the background image of the given glyph layer into the receiver’s background CA layer. The CA layer is created if necessary.
Declaration
func drawBackgroundImage(of layer: GSLayer?, at layerOrigin: NSPoint, asActive active: Bool)Declaration
- (void) drawBackgroundImageOfLayer:(GSLayer *) layer atPoint:(NSPoint) layerOrigin asActive:(BOOL) active;Declaration
drawBackgroundImageOfLayer_atPoint_asActive_(layer: GSLayer, layerOrigin: NSPoint, active: bool)Parameters
layerThe glyph layer providing the background image. If this is nil, the current background image is removed.
layerOriginThe origin of the given glyph layer.
activeIf this is YES, the image is highlighted to indicate that it belongs to the selected glyph layer.