docs: @NonNull
      public Bitmap toBitmap() {
          if (mSizeX == -1 || mSizeY == -1) {
              actionBar();
          }
  
          Bitmap bitmap = Bitmap.createBitmap(
                  getIntrinsicWidth(),
                  getIntrinsicHeight(),
                  Bitmap.Config.ARGB_8888);
  
          style(Paint.Style.FILL);
  
          Canvas canvas = new Canvas(bitmap);
          setBounds(0, 0, canvas.getWidth(), canvas.getHeight());
          draw(canvas);
  
          return bitmap;
      }