Search
Ad
|
新規
下位
一覧
検索
最新
ヘルプ
ページへ戻る
編集
複製
履歴
添付
印刷
Starling+Feathersで9スライスを使う
をテンプレートにして作成
xpwiki
:Starling+Feathersで9スライスを使う をテンプレートにして作成
開始行:
特にモバイルなどでは、少しでも画像のメモリを削らないとい...
その使い方。
まずtextureを取得
var texture:Texture = assets.getTexture(YOUR_9_SLICE_TEX...
assetsはAssetManager。[[StarlingのAssetManagerを使う]]を...
つぎにScale9Texturesを作成する。
var rect:Rectangle = new Rectangle( 20, 20, 165, 165 );
var s9texture:Scale9Textures = new Scale9Textures( textu...
ここでrectは9スライスの中心部分を表す長方形。
最後にScale9Imageで表示。高さや幅を指定すると9スライスと...
var img9s:Scale9Image = new Scale9Image(s9texture);
img9s.width = 360;
img9s.height = 330;
addChild(img9s);
参考: http://feathersui.com/help/scale9-image.html
終了行:
特にモバイルなどでは、少しでも画像のメモリを削らないとい...
その使い方。
まずtextureを取得
var texture:Texture = assets.getTexture(YOUR_9_SLICE_TEX...
assetsはAssetManager。[[StarlingのAssetManagerを使う]]を...
つぎにScale9Texturesを作成する。
var rect:Rectangle = new Rectangle( 20, 20, 165, 165 );
var s9texture:Scale9Textures = new Scale9Textures( textu...
ここでrectは9スライスの中心部分を表す長方形。
最後にScale9Imageで表示。高さや幅を指定すると9スライスと...
var img9s:Scale9Image = new Scale9Image(s9texture);
img9s.width = 360;
img9s.height = 330;
addChild(img9s);
参考: http://feathersui.com/help/scale9-image.html
ページ名:
ぺージ情報
ぺージ名 :
Starling+Feathersで9スライスを使う
ページ別名 :
未設定
ページ作成 :
njf
閲覧可
グループ :
すべての訪問者
ユーザー :
すべての訪問者
編集可
グループ :
すべての訪問者
ユーザー :
すべての訪問者
Counter: 0, today: 0, yesterday: 0
MenuBar
20
最新の0件
広告
ログイン
ユーザー名:
パスワード:
パスワード紛失