qc.Atlas.getPadding

Prototype

  • array getPadding(string frame)
  • array getPadding(int frame)

Parameter

Parameter Type Description
frame string、int Frame name or index
return array [left, top, right, bottom]

Description

Get Nine-Patch information from the atlas: [Left, Top, Right, Bottom]