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
,org.robovm.objc.ObjCProtocol
public class CIColor extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 5.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CIColor.CIColorPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
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(java.lang.String representation)
CIColor(NSCoder decoder)
protected
CIColor(NSObject.Handle h, long handle)
protected
CIColor(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CIColor
blackColor()
static CIColor
blueColor()
static CIColor
clearColor()
protected static long
create(double r, double g, double b)
protected static long
create(double r, double g, double b, double a)
protected static long
create(double r, double g, double b, double a, CGColorSpace colorSpace)
protected static long
create(double r, double g, double b, CGColorSpace colorSpace)
protected static long
create(java.lang.String representation)
protected static long
create(CGColor c)
static CIColor
cyanColor()
void
encode(NSCoder coder)
static CIColor
fromUIColor(UIColor color)
double
getAlpha()
double
getBlue()
CGColorSpace
getColorSpace()
protected org.robovm.rt.bro.ptr.MachineSizedFloatPtr
getComponents()
double[]
getComponentsD()
float[]
getComponentsF()
double
getGreen()
long
getNumberOfComponents()
double
getRed()
java.lang.String
getStringRepresentation()
static CIColor
grayColor()
static CIColor
greenColor()
protected long
init(double r, double g, double b, double a, CGColorSpace colorSpace)
protected long
init(double r, double g, double b, CGColorSpace colorSpace)
protected long
init(NSCoder decoder)
static CIColor
magentaColor()
static CIColor
redColor()
static boolean
supportsSecureCoding()
static CIColor
whiteColor()
static CIColor
yellowColor()
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
CIColor
public CIColor()
-
CIColor
protected CIColor(NSObject.Handle h, long handle)
-
CIColor
protected CIColor(NSObject.SkipInit skipInit)
-
CIColor
public CIColor(double r, double g, double b, double a, CGColorSpace colorSpace)
- Since:
- Available in iOS 10.0 and later.
-
CIColor
public CIColor(double r, double g, double b, CGColorSpace colorSpace)
- Since:
- Available in iOS 10.0 and later.
-
CIColor
public CIColor(NSCoder decoder)
-
CIColor
public CIColor(double r, double g, double b, double a)
-
CIColor
public CIColor(double r, double g, double b)
-
CIColor
public CIColor(java.lang.String representation)
-
-
Method Detail
-
getNumberOfComponents
public long getNumberOfComponents()
-
getComponents
protected org.robovm.rt.bro.ptr.MachineSizedFloatPtr getComponents()
-
getAlpha
public double getAlpha()
-
getColorSpace
public CGColorSpace getColorSpace()
-
getRed
public double getRed()
-
getGreen
public double getGreen()
-
getBlue
public double getBlue()
-
getStringRepresentation
public java.lang.String getStringRepresentation()
-
blackColor
public static CIColor blackColor()
- Since:
- Available in iOS 10.0 and later.
-
whiteColor
public static CIColor whiteColor()
- Since:
- Available in iOS 10.0 and later.
-
grayColor
public static CIColor grayColor()
- Since:
- Available in iOS 10.0 and later.
-
redColor
public static CIColor redColor()
- Since:
- Available in iOS 10.0 and later.
-
greenColor
public static CIColor greenColor()
- Since:
- Available in iOS 10.0 and later.
-
blueColor
public static CIColor blueColor()
- Since:
- Available in iOS 10.0 and later.
-
cyanColor
public static CIColor cyanColor()
- Since:
- Available in iOS 10.0 and later.
-
magentaColor
public static CIColor magentaColor()
- Since:
- Available in iOS 10.0 and later.
-
yellowColor
public static CIColor yellowColor()
- Since:
- Available in iOS 10.0 and later.
-
clearColor
public static CIColor clearColor()
- Since:
- Available in iOS 10.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
getComponentsD
public double[] getComponentsD()
-
getComponentsF
public float[] getComponentsF()
-
init
protected long init(double r, double g, double b, double a, CGColorSpace colorSpace)
- Since:
- Available in iOS 10.0 and later.
-
init
protected long init(double r, double g, double b, CGColorSpace colorSpace)
- Since:
- Available in iOS 10.0 and later.
-
create
protected static long create(CGColor c)
-
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
protected static long create(double r, double g, double b, double a, CGColorSpace colorSpace)
- Since:
- Available in iOS 10.0 and later.
-
create
protected static long create(double r, double g, double b, CGColorSpace colorSpace)
- Since:
- Available in iOS 10.0 and later.
-
create
protected static long create(java.lang.String representation)
-
init
protected long init(NSCoder decoder)
-
-