Class TextBucket


public class TextBucket extends TextureBucket
  • Field Details

    • LBIT_MASK

      protected static final int LBIT_MASK
      See Also:
    • mFontPadX

      protected static int mFontPadX
    • labels

      public TextItem labels
    • mCanvas

      protected final Canvas mCanvas
  • Constructor Details

    • TextBucket

      public TextBucket()
  • Method Details

    • getLabels

      public TextItem getLabels()
    • setLabels

      public void setLabels(TextItem labels)
    • addText

      public void addText(TextItem item)
    • prepare

      public void prepare()
      Description copied from class: RenderBucket
      Final preparation of content before compilation for stuff that should not be done on render-thread.
      Overrides:
      prepare in class RenderBucket
    • addItem

      protected void addItem(TextItem it, float width, float height, float x, float y)
    • clear

      public void clear()
      Description copied from class: RenderBucket
      Clear all resources.
      Overrides:
      clear in class TextureBucket
    • clearLabels

      public void clearLabels()