Package org.robovm.apple.coretext
Class CTFontCollection
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coretext.CTFontCollection
- All Implemented Interfaces:
AutoCloseable
public class CTFontCollection extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCTFontCollection.CTFontCollectionPtrstatic interfaceCTFontCollection.SortCallbackNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCTFontCollection() -
Method Summary
Modifier and Type Method Description CFArraycopyFontAttribute(String attributeName, CTFontCollectionCopyOptions options)CFArraycopyFontAttributes(CFSet attributeNames, CTFontCollectionCopyOptions options)static CTFontCollectioncreate(List<CTFontDescriptor> queryDescriptors, CTFontCollectionOptions options)CTFontCollectioncreateCopy(List<CTFontDescriptor> queryDescriptors, CTFontCollectionOptions options)static CTFontCollectioncreateFromAvailableFonts(CTFontCollectionOptions options)CFArraycreateMatchingFontDescriptorsWithOptions(NSDictionary options)static longgetClassTypeID()List<CTFontDescriptor>getMatchingFontDescriptors()List<CTFontDescriptor>getMatchingFontDescriptorsSorted(CTFontCollection.SortCallback sortCallback)protected List<CTFontDescriptor>getMatchingFontDescriptorsSorted(FunctionPtr sortCallback, long refCon)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
-
Constructor Details
-
CTFontCollection
protected CTFontCollection()
-
-
Method Details
-
getMatchingFontDescriptorsSorted
public List<CTFontDescriptor> getMatchingFontDescriptorsSorted(CTFontCollection.SortCallback sortCallback)- Since:
- Available in iOS 3.2 and later.
-
getClassTypeID
public static long getClassTypeID() -
createFromAvailableFonts
-
create
public static CTFontCollection create(List<CTFontDescriptor> queryDescriptors, CTFontCollectionOptions options) -
createCopy
public CTFontCollection createCopy(List<CTFontDescriptor> queryDescriptors, CTFontCollectionOptions options) -
getMatchingFontDescriptors
-
getMatchingFontDescriptorsSorted
protected List<CTFontDescriptor> getMatchingFontDescriptorsSorted(FunctionPtr sortCallback, long refCon) -
createMatchingFontDescriptorsWithOptions
- Since:
- Available in iOS 12.0 and later.
-
copyFontAttribute
- Since:
- Available in iOS 15.0 and later.
-
copyFontAttributes
- Since:
- Available in iOS 15.0 and later.
-