NineTileBoxComponent constructor
NineTileBoxComponent({
- NineTileBox? nineTileBox,
- Vector2? position,
- Vector2? size,
- Vector2? scale,
- double? angle,
- Anchor? anchor,
- Iterable<
Component> ? children, - int? priority,
- ComponentKey? key,
Takes the NineTileBox instance to render a box that can grow and shrink seamlessly.
It uses the x, y, width and height coordinates from the PositionComponent to render.
Implementation
NineTileBoxComponent({
this.nineTileBox,
super.position,
super.size,
super.scale,
super.angle,
super.anchor,
super.children,
super.priority,
super.key,
});