問題タブ [android-shapedrawable]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
260 参照

android - RoundRectShape が描画されない

オブジェクトに角丸四角形を描画しようとしていCanvasますが、何も表示されません。RoundRectShape私はそのように初期化します:

その後、電話をかけますtest.draw(canvas)が、何も表示されません。描画されないのはなぜRoundRectShapeですか? 正しく作成しましたか? どのようにすればいいのか、かなり迷ったからです。