Class CAGradientLayer

    • Constructor Detail

      • CAGradientLayer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CAGradientLayer 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()
      • colors

        @Nullable
        public @Nullable NSArray<?> colors()
        The array of CGColorRef objects defining the color of each gradient stop. Defaults to nil. Animatable.
      • endPoint

        public CGPoint endPoint()
      • initWithLayer

        public CAGradientLayer 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
      • locations

        @Nullable
        public @Nullable NSArray<? extends NSNumber> locations()
        An optional array of NSNumber objects defining the location of each gradient stop as a value in the range [0,1]. The values must be monotonically increasing. If a nil array is given, the stops are assumed to spread uniformly across the [0,1] range. When rendered, the colors are mapped to the output colorspace before being interpolated. Defaults to nil. Animatable.
      • setColors

        public void setColors​(@Nullable
                              @Nullable NSArray<?> value)
        The array of CGColorRef objects defining the color of each gradient stop. Defaults to nil. Animatable.
      • setEndPoint

        public void setEndPoint​(CGPoint value)
      • setLocations

        public void setLocations​(@Nullable
                                 @Nullable NSArray<? extends NSNumber> value)
        An optional array of NSNumber objects defining the location of each gradient stop as a value in the range [0,1]. The values must be monotonically increasing. If a nil array is given, the stops are assumed to spread uniformly across the [0,1] range. When rendered, the colors are mapped to the output colorspace before being interpolated. Defaults to nil. Animatable.
      • setStartPoint

        public void setStartPoint​(CGPoint value)
        The start and end points of the gradient when drawn into the layer's coordinate space. The start point corresponds to the first gradient stop, the end point to the last gradient stop. Both points are defined in a unit coordinate space that is then mapped to the layer's bounds rectangle when drawn. (I.e. [0,0] is the bottom-left corner of the layer, [1,1] is the top-right corner.) The default values are [.5,0] and [.5,1] respectively. Both are animatable.
      • setType

        public void setType​(@NotNull
                            @NotNull java.lang.String value)
        The kind of gradient that will be drawn. Currently, the only allowed values are `axial' (the default value), `radial', and `conic'.
      • startPoint

        public CGPoint startPoint()
        The start and end points of the gradient when drawn into the layer's coordinate space. The start point corresponds to the first gradient stop, the end point to the last gradient stop. Both points are defined in a unit coordinate space that is then mapped to the layer's bounds rectangle when drawn. (I.e. [0,0] is the bottom-left corner of the layer, [1,1] is the top-right corner.) The default values are [.5,0] and [.5,1] respectively. Both are animatable.
      • type

        @NotNull
        public @NotNull java.lang.String type()
        The kind of gradient that will be drawn. Currently, the only allowed values are `axial' (the default value), `radial', and `conic'.
      • 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.