Package apple.quartzcore
Class CAEmitterCell
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.quartzcore.CAEmitterCell
-
- All Implemented Interfaces:
NSCoding,NSSecureCoding,NSObject,CAMediaTiming
public class CAEmitterCell extends NSObject implements NSSecureCoding, CAMediaTiming
API-Since: 5.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCAEmitterCell(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static CAEmitterCellalloc()static CAEmitterCellallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)floatalphaRange()floatalphaSpeed()static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)booleanautoreverses()When true, the object plays backwards after playing forwards.doublebeginTime()The begin time of the object, in relation to its parent object, if applicable.floatbirthRate()The number of emitted objects created every second.floatblueRange()floatblueSpeed()static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@Nullable CGColorRefcolor()The mean color of each emitted object, and the range from that mean color.@Nullable java.lang.Objectcontents()The cell contents, typically a CGImageRef.CGRectcontentsRect()The sub-rectangle of the contents image that will be drawn.doublecontentsScale()Defines the scale factor applied to the contents of the cell.static java.lang.StringdebugDescription_static()static @Nullable java.lang.ObjectdefaultValueForKey(@NotNull java.lang.String key)Emitter cells implement the same property model as defined by CALayer.static java.lang.Stringdescription_static()doubleduration()The basic duration of the object.doubleemissionLatitude()The orientation of the emission angle in radians, relative to the natural orientation angle of the emission shape.doubleemissionLongitude()doubleemissionRange()An angle (in radians) defining a cone around the emission angle.static CAEmitterCellemitterCell()@Nullable NSArray<? extends CAEmitterCell>emitterCells()An array containing the sub-cells of this cell, or nil (the default value).voidencodeWithCoder(@NotNull NSCoder coder)@NotNull java.lang.StringfillMode()Defines how the timed object behaves outside its active duration.floatgreenRange()floatgreenSpeed()static longhash_static()CAEmitterCellinit()CAEmitterCellinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisEnabled()Controls whether or not cells from this emitter are rendered.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)floatlifetime()The lifetime of each emitted object in seconds, specified as a mean value and a range about the mean.floatlifetimeRange()@NotNull java.lang.StringmagnificationFilter()@NotNull java.lang.StringminificationFilter()The filter parameters used when rendering the `contents' image.floatminificationFilterBias()@Nullable java.lang.Stringname()The name of the cell.static CAEmitterCellnew_objc()floatredRange()floatredSpeed()The speed at which color components of emitted objects change over their lifetime, defined as the rate of change per second.floatrepeatCount()The repeat count of the object.doublerepeatDuration()The repeat duration of the object.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)doublescale()The scale factor applied to each emitted object, defined as mean and range about the mean.doublescaleRange()doublescaleSpeed()voidsetAlphaRange(float value)voidsetAlphaSpeed(float value)voidsetAutoreverses(boolean value)When true, the object plays backwards after playing forwards.voidsetBeginTime(double value)The begin time of the object, in relation to its parent object, if applicable.voidsetBirthRate(float value)The number of emitted objects created every second.voidsetBlueRange(float value)voidsetBlueSpeed(float value)voidsetColor(@Nullable CGColorRef value)The mean color of each emitted object, and the range from that mean color.voidsetContents(@Nullable java.lang.Object value)The cell contents, typically a CGImageRef.voidsetContentsRect(CGRect value)The sub-rectangle of the contents image that will be drawn.voidsetContentsScale(double value)Defines the scale factor applied to the contents of the cell.voidsetDuration(double value)The basic duration of the object.voidsetEmissionLatitude(double value)The orientation of the emission angle in radians, relative to the natural orientation angle of the emission shape.voidsetEmissionLongitude(double value)voidsetEmissionRange(double value)An angle (in radians) defining a cone around the emission angle.voidsetEmitterCells(@Nullable NSArray<? extends CAEmitterCell> value)An array containing the sub-cells of this cell, or nil (the default value).voidsetEnabled(boolean value)Controls whether or not cells from this emitter are rendered.voidsetFillMode(@NotNull java.lang.String value)Defines how the timed object behaves outside its active duration.voidsetGreenRange(float value)voidsetGreenSpeed(float value)voidsetLifetime(float value)The lifetime of each emitted object in seconds, specified as a mean value and a range about the mean.voidsetLifetimeRange(float value)voidsetMagnificationFilter(@NotNull java.lang.String value)voidsetMinificationFilter(@NotNull java.lang.String value)The filter parameters used when rendering the `contents' image.voidsetMinificationFilterBias(float value)voidsetName(@Nullable java.lang.String value)The name of the cell.voidsetRedRange(float value)voidsetRedSpeed(float value)The speed at which color components of emitted objects change over their lifetime, defined as the rate of change per second.voidsetRepeatCount(float value)The repeat count of the object.voidsetRepeatDuration(double value)The repeat duration of the object.voidsetScale(double value)The scale factor applied to each emitted object, defined as mean and range about the mean.voidsetScaleRange(double value)voidsetScaleSpeed(double value)voidsetSpeed(float value)The rate of the layer.voidsetSpin(double value)The rotation speed applied to each emitted object, defined as mean and range about the mean.voidsetSpinRange(double value)voidsetStyle(@Nullable NSDictionary<?,?> value)Inherited attributes similar to in layers.voidsetTimeOffset(double value)Additional offset in active local time.voidsetVelocity(double value)The initial mean velocity of each emitted object, and its range.voidsetVelocityRange(double value)static voidsetVersion_static(long aVersion)voidsetXAcceleration(double value)The acceleration vector applied to emitted objects.voidsetYAcceleration(double value)voidsetZAcceleration(double value)booleanshouldArchiveValueForKey(@NotNull java.lang.String key)floatspeed()The rate of the layer.doublespin()The rotation speed applied to each emitted object, defined as mean and range about the mean.doublespinRange()@Nullable NSDictionary<?,?>style()Inherited attributes similar to in layers.static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()doubletimeOffset()Additional offset in active local time.static booleanuseStoredAccessor()Deprecated.doublevelocity()The initial mean velocity of each emitted object, and its range.doublevelocityRange()static longversion_static()doublexAcceleration()The acceleration vector applied to emitted objects.doubleyAcceleration()doublezAcceleration()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static CAEmitterCell alloc()
-
allocWithZone
public static CAEmitterCell 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()
-
defaultValueForKey
@Nullable public static @Nullable java.lang.Object defaultValueForKey(@NotNull @NotNull 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()
-
emitterCell
public static CAEmitterCell emitterCell()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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)
-
new_objc
public static CAEmitterCell 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:CAMediaTimingWhen true, the object plays backwards after playing forwards. Defaults to NO.- Specified by:
autoreversesin interfaceCAMediaTiming
-
beginTime
public double beginTime()
Description copied from interface:CAMediaTimingThe begin time of the object, in relation to its parent object, if applicable. Defaults to 0.- Specified by:
beginTimein interfaceCAMediaTiming
-
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
@Nullable public @Nullable 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
@Nullable public @Nullable 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:CAMediaTimingThe basic duration of the object. Defaults to 0.- Specified by:
durationin interfaceCAMediaTiming
-
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
@Nullable public @Nullable 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.
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding
-
fillMode
@NotNull public @NotNull java.lang.String fillMode()
Description copied from interface:CAMediaTimingDefines 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:
fillModein interfaceCAMediaTiming
-
greenRange
public float greenRange()
-
greenSpeed
public float greenSpeed()
-
init
public CAEmitterCell init()
-
initWithCoder
public CAEmitterCell initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
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
@NotNull public @NotNull java.lang.String magnificationFilter()
-
minificationFilter
@NotNull public @NotNull java.lang.String minificationFilter()
The filter parameters used when rendering the `contents' image. See CALayer.h for more details.
-
minificationFilterBias
public float minificationFilterBias()
-
name
@Nullable public @Nullable 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:CAMediaTimingThe repeat count of the object. May be fractional. Defaults to 0.- Specified by:
repeatCountin interfaceCAMediaTiming
-
repeatDuration
public double repeatDuration()
Description copied from interface:CAMediaTimingThe repeat duration of the object. Defaults to 0.- Specified by:
repeatDurationin interfaceCAMediaTiming
-
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:CAMediaTimingWhen true, the object plays backwards after playing forwards. Defaults to NO.- Specified by:
setAutoreversesin interfaceCAMediaTiming
-
setBeginTime
public void setBeginTime(double value)
Description copied from interface:CAMediaTimingThe begin time of the object, in relation to its parent object, if applicable. Defaults to 0.- Specified by:
setBeginTimein interfaceCAMediaTiming
-
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(@Nullable @Nullable 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(@Nullable @Nullable 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:CAMediaTimingThe basic duration of the object. Defaults to 0.- Specified by:
setDurationin interfaceCAMediaTiming
-
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(@Nullable @Nullable 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(@NotNull @NotNull java.lang.String value)Description copied from interface:CAMediaTimingDefines 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:
setFillModein interfaceCAMediaTiming
-
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(@NotNull @NotNull java.lang.String value)
-
setMinificationFilter
public void setMinificationFilter(@NotNull @NotNull 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(@Nullable @Nullable 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:CAMediaTimingThe repeat count of the object. May be fractional. Defaults to 0.- Specified by:
setRepeatCountin interfaceCAMediaTiming
-
setRepeatDuration
public void setRepeatDuration(double value)
Description copied from interface:CAMediaTimingThe repeat duration of the object. Defaults to 0.- Specified by:
setRepeatDurationin interfaceCAMediaTiming
-
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:CAMediaTimingThe 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:
setSpeedin interfaceCAMediaTiming
-
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(@Nullable @Nullable NSDictionary<?,?> value)Inherited attributes similar to in layers.
-
setTimeOffset
public void setTimeOffset(double value)
Description copied from interface:CAMediaTimingAdditional 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:
setTimeOffsetin interfaceCAMediaTiming
-
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(@NotNull @NotNull java.lang.String key)
-
speed
public float speed()
Description copied from interface:CAMediaTimingThe 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:
speedin interfaceCAMediaTiming
-
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
@Nullable public @Nullable NSDictionary<?,?> style()
Inherited attributes similar to in layers.
-
timeOffset
public double timeOffset()
Description copied from interface:CAMediaTimingAdditional 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:
timeOffsetin interfaceCAMediaTiming
-
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:NSSecureCodingThis 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:
_supportsSecureCodingin interfaceNSSecureCoding
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-