public final class

FontResourcesParserCompat.FontFileResourceEntry

extends java.lang.Object

 java.lang.Object

↳androidx.core.content.res.FontResourcesParserCompat.FontFileResourceEntry

Overview

A class that represents a font element in an xml file which points to a file in resources.

Summary

Constructors
publicFontFileResourceEntry(java.lang.String fileName, int weight, boolean italic, java.lang.String variationSettings, int ttcIndex, int resourceId)

Methods
public java.lang.StringgetFileName()

public intgetResourceId()

public intgetTtcIndex()

public java.lang.StringgetVariationSettings()

public intgetWeight()

public booleanisItalic()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public FontFileResourceEntry(java.lang.String fileName, int weight, boolean italic, java.lang.String variationSettings, int ttcIndex, int resourceId)

Methods

public java.lang.String getFileName()

public int getWeight()

public boolean isItalic()

public java.lang.String getVariationSettings()

public int getTtcIndex()

public int getResourceId()