Class CAEmitterCell

    • Constructor Detail

      • CAEmitterCell

        protected CAEmitterCell​(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()
      • defaultValueForKey

        public static java.lang.Object defaultValueForKey​(java.lang.String key)
        Emitter cells implement the same property model as defined by CALayer. See CALayer.h for more details.
      • 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)
      • 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()
      • alphaRange

        public float alphaRange()
      • alphaSpeed

        public float alphaSpeed()
      • autoreverses

        public boolean autoreverses()
        Description copied from interface: CAMediaTiming
        When true, the object plays backwards after playing forwards. Defaults to NO.
        Specified by:
        autoreverses in interface CAMediaTiming
      • beginTime

        public double beginTime()
        Description copied from interface: CAMediaTiming
        The begin time of the object, in relation to its parent object, if applicable. Defaults to 0.
        Specified by:
        beginTime in interface CAMediaTiming
      • birthRate

        public float birthRate()
        The number of emitted objects created every second. Default value is zero. Animatable.
      • blueRange

        public float blueRange()
      • blueSpeed

        public float blueSpeed()
      • color

        public CGColorRef color()
        The mean color of each emitted object, and the range from that mean color. `color' defaults to opaque white, `colorRange' to (0, 0, 0, 0). Animatable.
      • contents

        public java.lang.Object contents()
        The cell contents, typically a CGImageRef. Defaults to nil. Animatable.
      • contentsRect

        public CGRect contentsRect()
        The sub-rectangle of the contents image that will be drawn. See CALayer.h for more details. Defaults to the unit rectangle [0 0 1 1]. Animatable.
      • contentsScale

        public double contentsScale()
        Defines the scale factor applied to the contents of the cell. See CALayer.h for more details.
      • duration

        public double duration()
        Description copied from interface: CAMediaTiming
        The basic duration of the object. Defaults to 0.
        Specified by:
        duration in interface CAMediaTiming
      • emissionLatitude

        public double emissionLatitude()
        The orientation of the emission angle in radians, relative to the natural orientation angle of the emission shape. Note that latitude here is what is typically called colatitude, the zenith or phi, the angle from the z-axis. Similarly longitude is the angle in the xy-plane from the x-axis, often referred to as the azimuth or theta. Both values default to zero, which translates to no change relative to the emission shape's direction. Both values are animatable.
      • emissionLongitude

        public double emissionLongitude()
      • emissionRange

        public double emissionRange()
        An angle (in radians) defining a cone around the emission angle. Emitted objects are uniformly distributed across this cone. Defaults to zero. Animatable.
      • emitterCells

        public NSArray<? extends CAEmitterCell> emitterCells()
        An array containing the sub-cells of this cell, or nil (the default value). When non-nil each particle emitted by the cell will act as an emitter for each of the cell's sub-cells. The emission point is the current particle position and the emission angle is relative to the current direction of the particle. Animatable.
      • fillMode

        public java.lang.String fillMode()
        Description copied from interface: CAMediaTiming
        Defines how the timed object behaves outside its active duration. Local time may be clamped to either end of the active duration, or the element may be removed from the presentation. The legal values are `backwards', `forwards', `both' and `removed'. Defaults to `removed'.
        Specified by:
        fillMode in interface CAMediaTiming
      • greenRange

        public float greenRange()
      • greenSpeed

        public float greenSpeed()
      • isEnabled

        public boolean isEnabled()
        Controls whether or not cells from this emitter are rendered.
      • setEnabled

        public void setEnabled​(boolean value)
        Controls whether or not cells from this emitter are rendered.
      • lifetime

        public float lifetime()
        The lifetime of each emitted object in seconds, specified as a mean value and a range about the mean. Both values default to zero. Animatable.
      • lifetimeRange

        public float lifetimeRange()
      • magnificationFilter

        public java.lang.String magnificationFilter()
      • minificationFilter

        public java.lang.String minificationFilter()
        The filter parameters used when rendering the `contents' image. See CALayer.h for more details.
      • minificationFilterBias

        public float minificationFilterBias()
      • name

        public java.lang.String name()
        The name of the cell. Used to construct key paths. Defaults to nil.
      • redRange

        public float redRange()
      • redSpeed

        public float redSpeed()
        The speed at which color components of emitted objects change over their lifetime, defined as the rate of change per second. Defaults to (0, 0, 0, 0). Animatable.
      • repeatCount

        public float repeatCount()
        Description copied from interface: CAMediaTiming
        The repeat count of the object. May be fractional. Defaults to 0.
        Specified by:
        repeatCount in interface CAMediaTiming
      • repeatDuration

        public double repeatDuration()
        Description copied from interface: CAMediaTiming
        The repeat duration of the object. Defaults to 0.
        Specified by:
        repeatDuration in interface CAMediaTiming
      • scale

        public double scale()
        The scale factor applied to each emitted object, defined as mean and range about the mean. Scale defaults to one, range to zero. Animatable.
      • scaleRange

        public double scaleRange()
      • scaleSpeed

        public double scaleSpeed()
      • setAlphaRange

        public void setAlphaRange​(float value)
      • setAlphaSpeed

        public void setAlphaSpeed​(float value)
      • setAutoreverses

        public void setAutoreverses​(boolean value)
        Description copied from interface: CAMediaTiming
        When true, the object plays backwards after playing forwards. Defaults to NO.
        Specified by:
        setAutoreverses in interface CAMediaTiming
      • setBeginTime

        public void setBeginTime​(double value)
        Description copied from interface: CAMediaTiming
        The begin time of the object, in relation to its parent object, if applicable. Defaults to 0.
        Specified by:
        setBeginTime in interface CAMediaTiming
      • setBirthRate

        public void setBirthRate​(float value)
        The number of emitted objects created every second. Default value is zero. Animatable.
      • setBlueRange

        public void setBlueRange​(float value)
      • setBlueSpeed

        public void setBlueSpeed​(float value)
      • setColor

        public void setColor​(CGColorRef value)
        The mean color of each emitted object, and the range from that mean color. `color' defaults to opaque white, `colorRange' to (0, 0, 0, 0). Animatable.
      • setContents

        public void setContents​(java.lang.Object value)
        The cell contents, typically a CGImageRef. Defaults to nil. Animatable.
      • setContentsRect

        public void setContentsRect​(CGRect value)
        The sub-rectangle of the contents image that will be drawn. See CALayer.h for more details. Defaults to the unit rectangle [0 0 1 1]. Animatable.
      • setContentsScale

        public void setContentsScale​(double value)
        Defines the scale factor applied to the contents of the cell. See CALayer.h for more details.
      • setDuration

        public void setDuration​(double value)
        Description copied from interface: CAMediaTiming
        The basic duration of the object. Defaults to 0.
        Specified by:
        setDuration in interface CAMediaTiming
      • setEmissionLatitude

        public void setEmissionLatitude​(double value)
        The orientation of the emission angle in radians, relative to the natural orientation angle of the emission shape. Note that latitude here is what is typically called colatitude, the zenith or phi, the angle from the z-axis. Similarly longitude is the angle in the xy-plane from the x-axis, often referred to as the azimuth or theta. Both values default to zero, which translates to no change relative to the emission shape's direction. Both values are animatable.
      • setEmissionLongitude

        public void setEmissionLongitude​(double value)
      • setEmissionRange

        public void setEmissionRange​(double value)
        An angle (in radians) defining a cone around the emission angle. Emitted objects are uniformly distributed across this cone. Defaults to zero. Animatable.
      • setEmitterCells

        public void setEmitterCells​(NSArray<? extends CAEmitterCell> value)
        An array containing the sub-cells of this cell, or nil (the default value). When non-nil each particle emitted by the cell will act as an emitter for each of the cell's sub-cells. The emission point is the current particle position and the emission angle is relative to the current direction of the particle. Animatable.
      • setFillMode

        public void setFillMode​(java.lang.String value)
        Description copied from interface: CAMediaTiming
        Defines how the timed object behaves outside its active duration. Local time may be clamped to either end of the active duration, or the element may be removed from the presentation. The legal values are `backwards', `forwards', `both' and `removed'. Defaults to `removed'.
        Specified by:
        setFillMode in interface CAMediaTiming
      • setGreenRange

        public void setGreenRange​(float value)
      • setGreenSpeed

        public void setGreenSpeed​(float value)
      • setLifetime

        public void setLifetime​(float value)
        The lifetime of each emitted object in seconds, specified as a mean value and a range about the mean. Both values default to zero. Animatable.
      • setLifetimeRange

        public void setLifetimeRange​(float value)
      • setMagnificationFilter

        public void setMagnificationFilter​(java.lang.String value)
      • setMinificationFilter

        public void setMinificationFilter​(java.lang.String value)
        The filter parameters used when rendering the `contents' image. See CALayer.h for more details.
      • setMinificationFilterBias

        public void setMinificationFilterBias​(float value)
      • setName

        public void setName​(java.lang.String value)
        The name of the cell. Used to construct key paths. Defaults to nil.
      • setRedRange

        public void setRedRange​(float value)
      • setRedSpeed

        public void setRedSpeed​(float value)
        The speed at which color components of emitted objects change over their lifetime, defined as the rate of change per second. Defaults to (0, 0, 0, 0). Animatable.
      • setRepeatCount

        public void setRepeatCount​(float value)
        Description copied from interface: CAMediaTiming
        The repeat count of the object. May be fractional. Defaults to 0.
        Specified by:
        setRepeatCount in interface CAMediaTiming
      • setRepeatDuration

        public void setRepeatDuration​(double value)
        Description copied from interface: CAMediaTiming
        The repeat duration of the object. Defaults to 0.
        Specified by:
        setRepeatDuration in interface CAMediaTiming
      • setScale

        public void setScale​(double value)
        The scale factor applied to each emitted object, defined as mean and range about the mean. Scale defaults to one, range to zero. Animatable.
      • setScaleRange

        public void setScaleRange​(double value)
      • setScaleSpeed

        public void setScaleSpeed​(double value)
      • setSpeed

        public void setSpeed​(float value)
        Description copied from interface: CAMediaTiming
        The rate of the layer. Used to scale parent time to local time, e.g. if rate is 2, local time progresses twice as fast as parent time. Defaults to 1.
        Specified by:
        setSpeed in interface CAMediaTiming
      • setSpin

        public void setSpin​(double value)
        The rotation speed applied to each emitted object, defined as mean and range about the mean. Defaults to zero. Animatable.
      • setSpinRange

        public void setSpinRange​(double value)
      • setStyle

        public void setStyle​(NSDictionary<?,​?> value)
        Inherited attributes similar to in layers.
      • setTimeOffset

        public void setTimeOffset​(double value)
        Description copied from interface: CAMediaTiming
        Additional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset. One use of this is to "pause" a layer by setting `speed' to zero and `offset' to a suitable value. Defaults to 0.
        Specified by:
        setTimeOffset in interface CAMediaTiming
      • setVelocity

        public void setVelocity​(double value)
        The initial mean velocity of each emitted object, and its range. Both values default to zero. Animatable.
      • setVelocityRange

        public void setVelocityRange​(double value)
      • setXAcceleration

        public void setXAcceleration​(double value)
        The acceleration vector applied to emitted objects. Defaults to (0, 0, 0). Animatable.
      • setYAcceleration

        public void setYAcceleration​(double value)
      • setZAcceleration

        public void setZAcceleration​(double value)
      • shouldArchiveValueForKey

        public boolean shouldArchiveValueForKey​(java.lang.String key)
      • speed

        public float speed()
        Description copied from interface: CAMediaTiming
        The rate of the layer. Used to scale parent time to local time, e.g. if rate is 2, local time progresses twice as fast as parent time. Defaults to 1.
        Specified by:
        speed in interface CAMediaTiming
      • spin

        public double spin()
        The rotation speed applied to each emitted object, defined as mean and range about the mean. Defaults to zero. Animatable.
      • spinRange

        public double spinRange()
      • style

        public NSDictionary<?,​?> style()
        Inherited attributes similar to in layers.
      • timeOffset

        public double timeOffset()
        Description copied from interface: CAMediaTiming
        Additional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset. One use of this is to "pause" a layer by setting `speed' to zero and `offset' to a suitable value. Defaults to 0.
        Specified by:
        timeOffset in interface CAMediaTiming
      • velocity

        public double velocity()
        The initial mean velocity of each emitted object, and its range. Both values default to zero. Animatable.
      • velocityRange

        public double velocityRange()
      • xAcceleration

        public double xAcceleration()
        The acceleration vector applied to emitted objects. Defaults to (0, 0, 0). Animatable.
      • yAcceleration

        public double yAcceleration()
      • zAcceleration

        public double zAcceleration()
      • 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