CALayer(Decomposed)
@interface CALayer (Decomposed)
/// A proxy object for `DEDecomposedCATransform3D` that when changed, will apply the recomposed transform to the associated layer with implicit actions (animations) disabled.
@property (nonatomic, readonly) DEDecomposedCATransform3DProxy *transformProxy;
@end
No overview available.
-
A proxy object for
DEDecomposedCATransform3D
that when changed, will apply the recomposed transform to the associated layer with implicit actions (animations) disabled.Declaration
Objective-C
@property (nonatomic, readonly) DEDecomposedCATransform3DProxy *_Nonnull transformProxy;
Swift
var transformProxy: DEDecomposedCATransform3DProxy { get }
-
The translation of the layer’s transform (X and Y) as a CGPoint.
Declaration
Swift
var translation: CGPoint { get set }
-
The translation of the layer’s transform (X, Y, and Z).
Declaration
Swift
var translationXYZ: Translation { get set }
-
The scale of the layer’s transform (X and Y) as a CGPoint.
Declaration
Swift
var scale: CGPoint { get set }
-
The scale of the layer’s transform (X, Y, and Z).
Declaration
Swift
var scaleXYZ: Scale { get set }
-
The rotation of the layer’s transform (expressed as a quaternion).
Declaration
Swift
var rotation: CGQuaternion { get set }
-
The rotation of the layer’s transform (expressed as euler angles, in radians).
Declaration
Swift
var eulerAngles: CGVector3 { get set }
-
The shearing of the layer’s transform.
Declaration
Swift
var skew: Skew { get set }
-
The perspective of the layer’s transform (e.g. .m34).
Declaration
Swift
var perspective: Perspective { get set }