Package org.robovm.apple.coretext
Class CTFontDescriptor
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coretext.CTFontDescriptor
- All Implemented Interfaces:
AutoCloseable
public class CTFontDescriptor extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCTFontDescriptor.AsListMarshalerstatic classCTFontDescriptor.CTFontDescriptorPtrstatic interfaceCTFontDescriptor.ProgressHandlerNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCTFontDescriptor() -
Method Summary
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
-
CTFontDescriptor
protected CTFontDescriptor()
-
-
Method Details
-
createMatchingFontDescriptors
public List<CTFontDescriptor> createMatchingFontDescriptors(List<CTFontAttribute> mandatoryAttributes)- Since:
- Available in iOS 3.2 and later.
-
createMatchingFontDescriptor
- Since:
- Available in iOS 3.2 and later.
-
matchFontDescriptors
public static boolean matchFontDescriptors(List<CTFontDescriptor> descriptors, List<CTFontAttribute> mandatoryAttributes, Block2<CTFontDescriptorMatchingState,NSDictionary,Boolean> progressBlock)- Since:
- Available in iOS 6.0 and later.
-
getLocalizedAttribute
- Since:
- Available in iOS 3.2 and later.
-
getClassTypeID
public static long getClassTypeID() -
create
-
create
-
createCopy
-
createCopy
-
createCopy
public CTFontDescriptor createCopy(CTFontSymbolicTraits symTraitValue, CTFontSymbolicTraits symTraitMask) -
createMatchingFontDescriptors
-
createMatchingFontDescriptor
-
matchFontDescriptors
protected static boolean matchFontDescriptors(CFArray descriptors, CFSet mandatoryAttributes, Block2<CTFontDescriptorMatchingState,NSDictionary,Boolean> progressBlock) -
getAttributes
-
getAttribute
-
getLocalizedAttribute
-