All the graphics (rectangle and line) drawn are black, even though I have set a previous lineStyle for the rectangle.
-
Is this expected behavior?
-
What is the optimal solution for this?
// Container rectangle
// Border
graphics.lineStyle(3, 0x990000, 1);
graphics.strokeRoundedRect(x, y, CARD_WIDTH, CARD_HEIGHT, 8);
// Separator
graphics.lineStyle(1, 0x000000, 1);
graphics.moveTo(x, y + CARD_HEADER_HEIGHT);
graphics.lineTo(x + CARD_WIDTH, y + CARD_HEADER_HEIGHT);
graphics.strokePath();