public class CIColor extends NSObject implements NSSecureCoding, NSCopying
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CIColor(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static CIColor |
alloc() |
static CIColor |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
double |
alpha()
Return the alpha value of the color.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static CIColor |
blackColor()
Convenience constant CIColors in the sRGB colorspace.
|
double |
blue() |
static CIColor |
blueColor() |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static CIColor |
clearColor() |
CGColorSpaceRef |
colorSpace()
Return the color space object associated with the color.
|
static CIColor |
colorWithCGColor(CGColorRef c)
Create a new color object.
|
static CIColor |
colorWithRedGreenBlue(double r,
double g,
double b) |
static CIColor |
colorWithRedGreenBlueAlpha(double r,
double g,
double b,
double a)
Create a new color object in CI's default RGB colorspace
which is kCGColorSpaceSRGB or, if running on OSX before 10.10,
kCGColorSpaceGenericRGB.
|
static CIColor |
colorWithRedGreenBlueAlphaColorSpace(double r,
double g,
double b,
double a,
CGColorSpaceRef colorSpace)
Create a new color object in a given colorspace.
|
static CIColor |
colorWithRedGreenBlueColorSpace(double r,
double g,
double b,
CGColorSpaceRef colorSpace) |
static CIColor |
colorWithString(java.lang.String representation)
Create a new color object, 'representation' should be a string in one of
the formats returned by the stringRepresentation method.
|
org.moe.natj.general.ptr.ConstNFloatPtr |
components()
Return the color components (including alpha).
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static CIColor |
cyanColor() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
static CIColor |
grayColor() |
double |
green() |
static CIColor |
greenColor() |
static long |
hash_static() |
CIColor |
init() |
CIColor |
initWithCGColor(CGColorRef c)
Initialize a new color object.
|
CIColor |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
CIColor |
initWithColor(UIColor color) |
CIColor |
initWithRedGreenBlue(double r,
double g,
double b) |
CIColor |
initWithRedGreenBlueAlpha(double r,
double g,
double b,
double a)
Initialize a new color object in CI's default RGB colorspace
which is kCGColorSpaceSRGB or, if running on OSX before 10.10,
kCGColorSpaceGenericRGB.
|
CIColor |
initWithRedGreenBlueAlphaColorSpace(double r,
double g,
double b,
double a,
CGColorSpaceRef colorSpace)
Initialize a new color object in a given colorspace.
|
CIColor |
initWithRedGreenBlueColorSpace(double r,
double g,
double b,
CGColorSpaceRef colorSpace) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CIColor |
magentaColor() |
static CIColor |
new_objc() |
long |
numberOfComponents()
Return the number of color components (including alpha).
|
double |
red()
Return the (unpremultiplied) red, green or blue components of the color.
|
static CIColor |
redColor() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
java.lang.String |
stringRepresentation()
Returns a formatted string with the components of the color.
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static long |
version_static() |
static CIColor |
whiteColor() |
static CIColor |
yellowColor() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static CIColor alloc()
public static CIColor allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static CIColor blackColor()
public static CIColor blueColor()
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static CIColor clearColor()
public static CIColor colorWithCGColor(CGColorRef c)
public static CIColor colorWithRedGreenBlue(double r, double g, double b)
public static CIColor colorWithRedGreenBlueAlpha(double r, double g, double b, double a)
public static CIColor colorWithRedGreenBlueAlphaColorSpace(double r, double g, double b, double a, CGColorSpaceRef colorSpace)
public static CIColor colorWithRedGreenBlueColorSpace(double r, double g, double b, CGColorSpaceRef colorSpace)
public static CIColor colorWithString(java.lang.String representation)
public static CIColor cyanColor()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static CIColor grayColor()
public static CIColor greenColor()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CIColor magentaColor()
public static CIColor new_objc()
public static CIColor redColor()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static long version_static()
public static CIColor whiteColor()
public static CIColor yellowColor()
public double alpha()
public double blue()
public CGColorSpaceRef colorSpace()
public org.moe.natj.general.ptr.ConstNFloatPtr components()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic double green()
public CIColor initWithCGColor(CGColorRef c)
public CIColor initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic CIColor initWithRedGreenBlue(double r, double g, double b)
public CIColor initWithRedGreenBlueAlpha(double r, double g, double b, double a)
public CIColor initWithRedGreenBlueAlphaColorSpace(double r, double g, double b, double a, CGColorSpaceRef colorSpace)
public CIColor initWithRedGreenBlueColorSpace(double r, double g, double b, CGColorSpaceRef colorSpace)
public long numberOfComponents()
public double red()
public java.lang.String stringRepresentation()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding