initialize method

void initialize(
  1. double designWidth
)

应用启动时调用 designWidth 设计搞宽度

Implementation

void initialize(double designWidth) {
  _designWidth = designWidth;
}