1package com.xtremelabs.robolectric.shadows;
2
3import android.text.TextPaint;
4import com.xtremelabs.robolectric.internal.Implementation;
5import com.xtremelabs.robolectric.internal.Implements;
6
7@Implements(TextPaint.class)
8public class ShadowTextPaint extends ShadowPaint {
9    @Implementation
10    public float measureText(String text) {
11    	return text.length();
12    }
13}
14