| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final long |
BOLD |
1073741824L |
public static final long |
MIDSCRIPT |
67108864L |
public static final java.lang.String |
msdfFragmentShader |
"#ifdef GL_ES\n\tprecision mediump float;\n\tprecision mediump int;\n#endif\n\nuniform sampler2D u_texture;\nuniform float u_smoothing;\nvarying vec4 v_color;\nvarying vec2 v_texCoords;\n\nvoid main() {\n vec3 sdf = texture2D(u_texture, v_texCoords).rgb;\n gl_FragColor = vec4(v_color.rgb, clamp((max(min(sdf.r, sdf.g), min(max(sdf.r, sdf.g), sdf.b)) - 0.5) * u_smoothing + 0.5, 0.0, 1.0) * v_color.a);\n}\n" |
public static final long |
OBLIQUE |
536870912L |
public static final long |
STRIKETHROUGH |
134217728L |
public static final long |
SUBSCRIPT |
33554432L |
public static final long |
SUPERSCRIPT |
100663296L |
public static final long |
UNDERLINE |
268435456L |
public static final java.lang.String |
vertexShader |
"attribute vec4 a_position;\nattribute vec4 a_color;\nattribute vec2 a_texCoord0;\nuniform mat4 u_projTrans;\nvarying vec4 v_color;\nvarying vec2 v_texCoords;\n\nvoid main() {\n\tv_color = a_color;\n\tv_color.a = v_color.a * (255.0/254.0);\n\tv_texCoords = a_texCoord0;\n\tgl_Position = u_projTrans * a_position;\n}\n" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final float |
THIN_ACROSS |
0.10000000149011612f |
public static final float |
THIN_END |
0.550000011920929f |
public static final float |
THIN_OVER |
0.550000011920929f |
public static final float |
THIN_START |
0.44999998807907104f |
public static final float |
TWIN_ACROSS |
0.10000000149011612f |
public static final float |
TWIN_END1 |
0.44999998807907104f |
public static final float |
TWIN_END2 |
0.6499999761581421f |
public static final float |
TWIN_OVER1 |
0.6499999761581421f |
public static final float |
TWIN_OVER2 |
0.44999998807907104f |
public static final float |
TWIN_START1 |
0.3499999940395355f |
public static final float |
TWIN_START2 |
0.550000011920929f |
public static final float |
WIDE_ACROSS |
0.20000000298023224f |
public static final float |
WIDE_END |
0.6000000238418579f |
public static final float |
WIDE_OVER |
0.6000000238418579f |
public static final float |
WIDE_START |
0.4000000059604645f |