Package org.robovm.apple.coreimage
Class CIColor
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.coreimage.CIColor
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class CIColor extends NSObject implements NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCIColor.CIColorPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description CIColor()CIColor(double r, double g, double b)CIColor(double r, double g, double b, double a)CIColor(double r, double g, double b, double a, CGColorSpace colorSpace)CIColor(double r, double g, double b, CGColorSpace colorSpace)CIColor(String representation)CIColor(NSCoder coder)protectedCIColor(NSObject.Handle h, long handle)protectedCIColor(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description static CIColorblackColor()static CIColorblueColor()static CIColorclearColor()protected static longcreate(double r, double g, double b)protected static longcreate(double r, double g, double b, double a)protected static longcreate(double r, double g, double b, double a, CGColorSpace colorSpace)protected static longcreate(double r, double g, double b, CGColorSpace colorSpace)protected static longcreate(String representation)protected static longcreate(CGColor c)static CIColorcyanColor()voidencode(NSCoder coder)static CIColorfromUIColor(UIColor color)doublegetAlpha()doublegetBlue()CGColorSpacegetColorSpace()protected MachineSizedFloatPtrgetComponents()double[]getComponentsD()float[]getComponentsF()doublegetGreen()longgetNumberOfComponents()doublegetRed()StringgetStringRepresentation()static CIColorgrayColor()static CIColorgreenColor()protected longinit(double r, double g, double b, double a, CGColorSpace colorSpace)protected longinit(double r, double g, double b, CGColorSpace colorSpace)protected longinit(NSCoder coder)static CIColormagentaColor()static CIColorredColor()static booleansupportsSecureCoding()static CIColorwhiteColor()static CIColoryellowColor()Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
CIColor
public CIColor() -
CIColor
-
CIColor
-
CIColor
- Since:
- Available in iOS 10.0 and later.
-
CIColor
- Since:
- Available in iOS 10.0 and later.
-
CIColor
-
CIColor
public CIColor(double r, double g, double b, double a) -
CIColor
public CIColor(double r, double g, double b) -
CIColor
-
-
Method Details
-
getNumberOfComponents
public long getNumberOfComponents() -
getComponents
-
getAlpha
public double getAlpha() -
getColorSpace
-
getRed
public double getRed() -
getGreen
public double getGreen() -
getBlue
public double getBlue() -
getStringRepresentation
-
blackColor
- Since:
- Available in iOS 10.0 and later.
-
whiteColor
- Since:
- Available in iOS 10.0 and later.
-
grayColor
- Since:
- Available in iOS 10.0 and later.
-
redColor
- Since:
- Available in iOS 10.0 and later.
-
greenColor
- Since:
- Available in iOS 10.0 and later.
-
blueColor
- Since:
- Available in iOS 10.0 and later.
-
cyanColor
- Since:
- Available in iOS 10.0 and later.
-
magentaColor
- Since:
- Available in iOS 10.0 and later.
-
yellowColor
- Since:
- Available in iOS 10.0 and later.
-
clearColor
- Since:
- Available in iOS 10.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
getComponentsD
public double[] getComponentsD() -
getComponentsF
public float[] getComponentsF() -
fromUIColor
-
init
- Since:
- Available in iOS 10.0 and later.
-
init
- Since:
- Available in iOS 10.0 and later.
-
create
-
create
protected static long create(double r, double g, double b, double a) -
create
protected static long create(double r, double g, double b) -
create
- Since:
- Available in iOS 10.0 and later.
-
create
- Since:
- Available in iOS 10.0 and later.
-
create
-
encode
-
init
-