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.
iPad iOS 5 プロジェクトで Xcode 4.3 を使用しています。UIView の CGContext に対していくつかの CG 描画操作を実行しています。
たとえば、円を描画し、(ユーザーの操作に応じて) UIView のいくつかの位置に移動します。
このサークルを非表示/削除/クリア/削除したい点を広告します。
これを行う最善の方法は何ですか?線幅 = 0 で円を描き直しますか? またはアルファ= 0で?何か案が?
ありがとうございました。
円を除いてビューを再描画し、NeedsDisplay を設定します。