does the label color can be filled with BitmapColor?
Not directly but you can use an AlphaMask effect
In this example, we used a GradientColor but you can use a BitmapColor instead.
const label = new Label({text:"WOW", size:250, bold:true});
const rect = new Rectangle(
label.width,
label.height,
new GradientColor([red,orange,purple])
)
.center()
.effect(new AlphaEffect(label));
2 Likes