Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コードを使用して、ビットマップの座標 0,0 にテキストを描画しようとしています
canvas.drawText(text, 0, 0, paint);
しかし、テキストは画像の外側に描画され、20,25 の値を試したときにのみテキストが表示されます。これはなぜですか? このコードは 0,0 でテキストを描画することになっているのではありませんか(0.0f,0.0f)?
(0.0f,0.0f)