Package org.robovm.apple.coregraphics
Class CGGradient
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.coregraphics.CGGradient
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CGGradient extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CGGradient.CGGradientPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CGGradient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CGGradient
create(CGColorSpace space, double[] components, double[] locations)
static CGGradient
create(CGColorSpace space, float[] components, float[] locations)
static CGGradient
create(CGColorSpace space, CGColor[] colors, double[] locations)
static CGGradient
create(CGColorSpace space, CGColor[] colors, float[] locations)
static long
getClassTypeID()
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
create
public static CGGradient create(CGColorSpace space, double[] components, double[] locations)
-
create
public static CGGradient create(CGColorSpace space, float[] components, float[] locations)
-
create
public static CGGradient create(CGColorSpace space, CGColor[] colors, double[] locations)
-
create
public static CGGradient create(CGColorSpace space, CGColor[] colors, float[] locations)
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 2.0 and later.
-
-