GSBackgroundImage Class Reference
Inherits from | GSElement : NSObject |
Tasks
-
– initWithURL:
-
– initWithPath:
-
imagePath
property -
image
property -
crop
property -
alpha
property -
transformStruct
property -
– showInFinder:
-
– toggleLocked
-
– setScaleX:scaleY:rotation:
Properties
transformStruct
The transformation of the component.
@property (assign, nonatomic) NSAffineTransformStruct transformStruct
Discussion
The values of the struct are: {m11, m12, m21, m22, tX, tY} this is equivalent to the glif attributes {xScale, xyScale, yxScale, yScale, xOffset, yOffset} in the same order. The initial value is {1,0,0,1,0,0}.
Instance Methods
initWithPath:
Inits with a path
- (instancetype)initWithPath:(NSString *)Path
Parameters
- Path
the Path