Class CAReplicatorLayer

  • All Implemented Interfaces:
    NSCoding, NSSecureCoding, NSObject, CAMediaTiming

    public class CAReplicatorLayer
    extends CALayer
    The replicator layer creates a specified number of copies of its sublayers, each copy potentially having geometric, temporal and color transformations applied to it. Note: the CALayer -hitTest: method currently only tests the first instance of z replicator layer's sublayers. This may change in the future. API-Since: 3.0
    • Constructor Detail

      • CAReplicatorLayer

        protected CAReplicatorLayer​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CAReplicatorLayer allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • defaultActionForKey

        @Nullable
        public static @Nullable CAAction defaultActionForKey​(@NotNull
                                                             @NotNull java.lang.String event)
      • defaultValueForKey

        @Nullable
        public static @Nullable java.lang.Object defaultValueForKey​(@NotNull
                                                                    @NotNull java.lang.String key)
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • needsDisplayForKey

        public static boolean needsDisplayForKey​(@NotNull
                                                 @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • initWithLayer

        public CAReplicatorLayer initWithLayer​(@NotNull
                                               @NotNull java.lang.Object layer)
        Description copied from class: CALayer
        This initializer is used by CoreAnimation to create shadow copies of layers, e.g. for use as presentation layers. Subclasses can override this method to copy their instance variables into the presentation layer (subclasses should call the superclass afterwards). Calling this method in any other situation will result in undefined behavior.
        Overrides:
        initWithLayer in class CALayer
      • instanceAlphaOffset

        public float instanceAlphaOffset()
      • instanceBlueOffset

        public float instanceBlueOffset()
      • instanceColor

        @Nullable
        public @Nullable CGColorRef instanceColor()
        The color to multiply the first object by (the source object). Defaults to opaque white. Animatable.
      • instanceCount

        public long instanceCount()
        The number of copies to create, including the source object. Default value is one (i.e. no extra copies). Animatable.
      • instanceDelay

        public double instanceDelay()
        The temporal delay between replicated copies. Defaults to zero. Animatable.
      • instanceGreenOffset

        public float instanceGreenOffset()
      • instanceRedOffset

        public float instanceRedOffset()
        The color components added to the color of instance k-1 to produce the modulation color of instance k. Defaults to the clear color (no change). Animatable.
      • instanceTransform

        public CATransform3D instanceTransform()
        The matrix applied to instance k-1 to produce instance k. The matrix is applied relative to the center of the replicator layer, i.e. the superlayer of each replicated sublayer. Defaults to the identity matrix. Animatable.
      • preservesDepth

        public boolean preservesDepth()
        Defines whether this layer flattens its sublayers into its plane or not (i.e. whether it's treated similarly to a transform layer or not). Defaults to NO. If YES, the standard restrictions apply (see CATransformLayer.h).
      • setInstanceAlphaOffset

        public void setInstanceAlphaOffset​(float value)
      • setInstanceBlueOffset

        public void setInstanceBlueOffset​(float value)
      • setInstanceColor

        public void setInstanceColor​(@Nullable
                                     @Nullable CGColorRef value)
        The color to multiply the first object by (the source object). Defaults to opaque white. Animatable.
      • setInstanceCount

        public void setInstanceCount​(long value)
        The number of copies to create, including the source object. Default value is one (i.e. no extra copies). Animatable.
      • setInstanceDelay

        public void setInstanceDelay​(double value)
        The temporal delay between replicated copies. Defaults to zero. Animatable.
      • setInstanceGreenOffset

        public void setInstanceGreenOffset​(float value)
      • setInstanceRedOffset

        public void setInstanceRedOffset​(float value)
        The color components added to the color of instance k-1 to produce the modulation color of instance k. Defaults to the clear color (no change). Animatable.
      • setInstanceTransform

        public void setInstanceTransform​(CATransform3D value)
        The matrix applied to instance k-1 to produce instance k. The matrix is applied relative to the center of the replicator layer, i.e. the superlayer of each replicated sublayer. Defaults to the identity matrix. Animatable.
      • setPreservesDepth

        public void setPreservesDepth​(boolean value)
        Defines whether this layer flattens its sublayers into its plane or not (i.e. whether it's treated similarly to a transform layer or not). Defaults to NO. If YES, the standard restrictions apply (see CATransformLayer.h).
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class CALayer
      • cornerCurveExpansionFactor

        public static double cornerCurveExpansionFactor​(@NotNull
                                                        @NotNull java.lang.String curve)
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.