Class CharacterManager.MultilineProcessor

    • Field Detail

      • maxWidth

        private final float maxWidth
      • lineBreak

        private int lineBreak
      • lineBreakStyle

        private Style lineBreakStyle
      • hadNonZeroWidthChar

        private boolean hadNonZeroWidthChar
      • width

        private float width
      • lastSpace

        private int lastSpace
      • lastSpaceStyle

        private Style lastSpaceStyle
      • nextChar

        private int nextChar
      • offset

        private int offset
    • Constructor Detail

      • MultilineProcessor

        public MultilineProcessor​(float p_i232246_2_)
    • Method Detail

      • accept

        public boolean accept​(int p_accept_1_,
                              Style p_accept_2_,
                              int p_accept_3_)
        Specified by:
        accept in interface ICharacterConsumer
      • finishIteration

        private boolean finishIteration​(int p_238388_1_,
                                        Style p_238388_2_)
      • lineBreakFound

        private boolean lineBreakFound()
      • getSplitPosition

        public int getSplitPosition()
      • getSplitStyle

        public Style getSplitStyle()
      • addToOffset

        public void addToOffset​(int p_238387_1_)