Inherits from GSTransformableElement : GSElement : GSShape : NSObject
Declared in GSBackgroundImage.h

Overview

GSBackgroundImage: The class defining the image

It is a subclass of GSElement

Properties

alpha

transparency of rendering in outline mode.

@property (assign, nonatomic) unsigned short alpha

crop

The Crop

@property (assign, nonatomic) NSRect crop

image

the NSImage

@property (readonly, nonatomic) NSImage *image

imagePath

the image path

@property (strong, nonatomic) NSString *imagePath

imageURL

the image URL

@property (strong, nonatomic) NSURL *imageURL

Instance Methods

initWithURL:

Inits with a NSURL

- (instancetype)initWithURL:(NSURL *)URL

Parameters

URL

the URL

showInFinder:

Shows the image in the Finder

- (void)showInFinder:(id)sender

toggleLocked

toggle locked

- (void)toggleLocked