これビットマップパーツの生成に便利だろうと思ってちと使ってみたのだけど、イメージデータに対してうまく適応できない。ベクターだとうまく動くのに、ビットマップは普通に通常変形しているっぽい。ビットマップには適応できないんだっけな・・?なんかできるような話を聞いた記憶があるのだが・・夢か?
これビットマップパーツの生成に便利だろうと思ってちと使ってみたのだけど、イメージデータに対してうまく適応できない。ベクターだとうまく動くのに、ビットマップは普通に通常変形しているっぽい。ビットマップには適応できないんだっけな・・?なんかできるような話を聞いた記憶があるのだが・・夢か?
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
Google reCAPTCHA helps protect websites from spam and abuse by verifying user interactions through challenges.
Google Tag Manager simplifies the management of marketing tags on your website without code changes.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
Marketing cookies are used to follow visitors to websites. The intention is to show ads that are relevant and engaging to the individual user.
A video-sharing platform for users to upload, view, and share videos across various genres and topics.
Service URL: www.youtube.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy policy.
「scale9Grid」への8件の返信
むう・・失礼。
“scale9Grid”という名前をキチンと理解すれば解決できました。
あほみたいなエントリーを書いてしまった・・・。恥
僕も少し前に試してみたのですがやっぱり出来なかったです・・・。
結局9つのimgを用意して対処しちゃいましたです。
出来るなら知りたいですね。
あ、そうです、同じやり方です。結局9つgridを用意しないと駄目でした。昔各グリッドの位置を算出して割り当てていた部分の労力が減ったぐらいですね・・・。(それだけでも楽といえば楽ですが)
自分も今日気付いたのですが、イメージにはやっぱり適応できなかったです。
これ使うとcacheBitmapがOnになるんで、てっきりBitmapもできるのかと思ってました(ということは、Bitmapいじればできそうな感じってことかも)
ビットマップのスライスまではFlash内では無理なんだと思います。やるとしたら元のbitmapを9つのグリッドに分割した形でdrawして割り当てるとできるような気がします。そのへんscale9Gridクラスを改造して自動的に適応するクラスを作成するっていう手もあるかもしれないっす。(負荷はおいておいて・・)
いやー、なんかまた9Grid使おうかなと思って、なんの案件でこの検証をしたのか思い出すのに30分ぐらいかかった・・。記憶がやばい感じになりつつある。
高々5ヶ月前なのに・・・涙
なんだよう・・・scale9Gridを適応したMCはマスクとして使えないジャン。ってcacheBitmapがONになるんだから当たり前か・・・汗
あーうー。
あら?cacheBitmapがtrueにならない・・?はてて?