RectangleComponent constructor
RectangleComponent({})
Implementation
RectangleComponent({
required Vector2 size,
Paint? paint,
Vector2? position,
Vector2? scale,
double? angle,
Anchor? anchor,
int? priority,
}) : super(
HitboxRectangle(),
paint: paint,
position: position,
size: size,
scale: scale,
angle: angle,
anchor: anchor,
priority: priority,
);