Package com.airbnb.lottie.model
Class DocumentData
- java.lang.Object
-
- com.airbnb.lottie.model.DocumentData
-
public class DocumentData extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentData.Justification
-
Field Summary
Fields Modifier and Type Field Description floatbaselineShiftintcolorStringfontNameDocumentData.JustificationjustificationfloatlineHeightfloatsizeintstrokeColorbooleanstrokeOverFillfloatstrokeWidthStringtextinttracking
-
Constructor Summary
Constructors Constructor Description DocumentData()DocumentData(String text, String fontName, float size, DocumentData.Justification justification, int tracking, float lineHeight, float baselineShift, int color, int strokeColor, float strokeWidth, boolean strokeOverFill)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inthashCode()voidset(String text, String fontName, float size, DocumentData.Justification justification, int tracking, float lineHeight, float baselineShift, int color, int strokeColor, float strokeWidth, boolean strokeOverFill)
-
-
-
Field Detail
-
text
public String text
-
fontName
public String fontName
-
size
public float size
-
justification
public DocumentData.Justification justification
-
tracking
public int tracking
-
lineHeight
public float lineHeight
-
baselineShift
public float baselineShift
-
color
@ColorInt public int color
-
strokeColor
@ColorInt public int strokeColor
-
strokeWidth
public float strokeWidth
-
strokeOverFill
public boolean strokeOverFill
-
-
Constructor Detail
-
DocumentData
public DocumentData(String text, String fontName, float size, DocumentData.Justification justification, int tracking, float lineHeight, float baselineShift, @ColorInt int color, @ColorInt int strokeColor, float strokeWidth, boolean strokeOverFill)
-
DocumentData
public DocumentData()
-
-
Method Detail
-
set
public void set(String text, String fontName, float size, DocumentData.Justification justification, int tracking, float lineHeight, float baselineShift, @ColorInt int color, @ColorInt int strokeColor, float strokeWidth, boolean strokeOverFill)
-
-