問題タブ [pencilkit]
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.
98 問題
0
投票する
1
に答える
578
参照
ios - PKDrawing で個々のストロークを変更するには? - PencilKit / SwiftUI
描画内の個々のストロークの色を変更したいと考えています。印刷PKDrawing().strokes
すると、複数のアイテムを含む配列が返さPencilKit.PKStroke
れ、キャンバスに反映される配列からストロークを削除できます。しかし、例えば最初のストロークの色を変更したい場合、どうすればよいでしょうか。
ありがとう!