Class CAGradientLayer

    • Constructor Detail

      • CAGradientLayer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

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

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

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

        public static java.lang.Object defaultValueForKey​(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

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

        public static boolean needsDisplayForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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

        public 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​(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

        public 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​(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​(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​(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

        public 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​(java.lang.String curve)