绘制文字 缩小 阴影不随之缩小的处理

canvas.scale(zoom, zoom); TextPaint textPaint = new TextPaint(); textPaint.setAntiAlias(true); DynamicLayout layout = new DynamicLayout(text, textPaint, width,                             Layout.Alignment.ALIGN_NORMAL, 1.0f, 1.0f, false); layout.draw(canvas);
注意加

textPaint.setSubpixelText(true);

你可能感兴趣的:(处理)