Class DocumentData


  • public class DocumentData
    extends Object
    • Field Detail

      • fontName

        public String fontName
      • size

        public float size
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object