Class CTFontDescriptor

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CTFontDescriptor
    extends CFType
    • Constructor Detail

      • CTFontDescriptor

        protected CTFontDescriptor()
    • Method Detail

      • createMatchingFontDescriptors

        public java.util.List<CTFontDescriptor> createMatchingFontDescriptors​(java.util.List<CTFontAttribute> mandatoryAttributes)
        Since:
        Available in iOS 3.2 and later.
      • createMatchingFontDescriptor

        public CTFontDescriptor createMatchingFontDescriptor​(java.util.List<CTFontAttribute> mandatoryAttributes)
        Since:
        Available in iOS 3.2 and later.
      • getLocalizedAttribute

        public CFType getLocalizedAttribute​(CTFontAttribute attribute)
        Since:
        Available in iOS 3.2 and later.
      • getClassTypeID

        public static long getClassTypeID()
        Since:
        Available in iOS 3.2 and later.
      • create

        public static CTFontDescriptor create​(java.lang.String name,
                                              double size)
        Since:
        Available in iOS 3.2 and later.
      • createCopy

        public CTFontDescriptor createCopy​(java.lang.String family)
        Since:
        Available in iOS 7.0 and later.
      • createMatchingFontDescriptors

        protected CFArray createMatchingFontDescriptors​(CFSet mandatoryAttributes)
        Since:
        Available in iOS 3.2 and later.
      • createMatchingFontDescriptor

        protected CTFontDescriptor createMatchingFontDescriptor​(CFSet mandatoryAttributes)
        Since:
        Available in iOS 3.2 and later.
      • matchFontDescriptors

        protected static boolean matchFontDescriptors​(CFArray descriptors,
                                                      CFSet mandatoryAttributes,
                                                      org.robovm.objc.block.Block2<CTFontDescriptorMatchingState,​NSDictionary,​java.lang.Boolean> progressBlock)
        Since:
        Available in iOS 6.0 and later.
      • getAttributes

        public CTFontAttributes getAttributes()
        Since:
        Available in iOS 3.2 and later.
      • getAttribute

        public CFType getAttribute​(CTFontAttribute attribute)
        Since:
        Available in iOS 3.2 and later.