The group supports many shapes, internal gap, filling color and border style etc. In addition, the image can be set as the group background

  • Q.Group#groupType - Group shape type
  • Q.Group#padding - Internal gap
  • Q.Styles.GROUP_*** - Related styles of group

Example 

group.groupType = Q.Consts.GROUP_TYPE_ELLIPSE;
group.setStyle(Q.Styles.GROUP_BACKGROUND_COLOR, Q.toColor(0xCCfcfb9b));
group.setStyle(Q.Styles.GROUP_BACKGROUND_GRADIENT, Q.Gradient.LINEAR_GRADIENT_HORIZONTAL);

Operation effect