Android TextView setEmsメソッド名

673 ワード

Android TextView setEms()はtextviewの文字幅を設定する役割を果たします.でも名前がおかしい.
 
    /**
     * Makes the TextView exactly this many ems wide
     *
     * @attr ref android.R.styleable#TextView_ems
     */
    @android.view.RemotableViewMethod
    public void setEms(int ems) {
        mMaxWidth = mMinWidth = ems;
        mMaxWidthMode = mMinWidthMode = EMS;

        requestLayout();
        invalidate();
    }

 
An em is a unit in the field of typography

 
Emは印刷レイアウトの単位で、字幅を表す単位です.Em字面は、equal M(M文字と一致する幅は1単位)をemと略すことを意味する.
Emsはemの複素表現である.
Emの具体的な由来は? 
http://en.wikipedia.org/wiki/Em_%28typography%29