MPLabelGraphic constructor

MPLabelGraphic({
  1. required String backgroundImage,
  2. required List<int> content,
  3. required List<List<int>> stretchX,
  4. required List<List<int>> stretchY,
})

Creates a new instance of MPLabelGraphic. All parameters are required in order to create a cohesive graphic label.

Implementation

MPLabelGraphic(
    {required this.backgroundImage,
    required this.content,
    required this.stretchX,
    required this.stretchY});