A little help with drawText

Im trying to draw text on a bitmap and I can't seem to get it to show up, here's what I'm working with so far. Im not sure if it's relevant or not but this is "Scene_Map" By the way.
Code:
A = new Sprite();
A.bitmap = ImageManager.LoadImage("Bar")
A.bitmap.drawText("test", 0, 0, 100, 30, 'center')
SceneManager._scene.addChild(A)
A.x = 100
A.y = 100
The Bar image shows up just fine, but there isn't any text anywhere on the screen. Can anyone tell me what i'm doing wrong?
try positioning A before drawing the Text.
What do you mean by size? Sorry i'm still new to this.
just position, I edited the size part out, I realized if you see the image you were loading, then the sprite is sized correctly.
it might be that moving the sprite is causing the text to not reload correctly.
to be on the safe side, first position the X and Y, and then draw on top of it.
Nope, that didn't work for me either. Im gonna disable the plugins I have to make sure it isn't one of those.
Sprite is a subclass of PIXI.Sprite and its bitmap has nothing to do with Bitmap class. Therefore it shouldn't be possible to use Bitmap prototype methods as far as I know.

I would use PIXI.Text instead:

var text = new PIXI.Text("test", style);
var style = {fontFamily: "GameFont", fontSize:28, color: 0xffffff}
A.addChild(text)
but he's loading an actual bitmap, as the sprite's bitmap.
I was just about to ask if there was another method you guys would recommend.

Original thread: https://forums.rpgmakerweb.com/threads/a-little-help-with-drawtext.95337/