0
thisのようなものがありますが、チタンのスキューを使用する例は見つかりません。スキューの方法appceleratorの合金の表示(チタン)
http://www.w3schools.com/cssref/playit.asp?filename=playcss_transform_skew
thisのようなものがありますが、チタンのスキューを使用する例は見つかりません。スキューの方法appceleratorの合金の表示(チタン)
http://www.w3schools.com/cssref/playit.asp?filename=playcss_transform_skew
それが原因3DMatrixの可用性に、現在のiOS上でのみ可能です。
この
var ANIMATION = require('animation');
var window = Ti.UI.createWindow({
title : "Tilt Animations",
backgroundColor : 'white'
});
var view = Ti.UI.createView({
backgroundColor : '#0bb',
width : '70%',
height : '50%'
});
var label = Ti.UI.createLabel({
text : 'My Div',
color : 'black',
touchEnabled : false
});
if (OS_IOS) {
view.addEventListener('touchend', touchend);
view.addEventListener('touchcancel', touchend);
view.addEventListener('touchstart', touchStartMove);
view.addEventListener('touchmove', touchStartMove);
}
view.add(label);
window.add(view);
window.open();
function touchStartMove(e) {
ANIMATION.touchStartOrMove(e, view);
}
function touchend(e) {
ANIMATION.touchEnd(view);
}
実際に私はビューがアンドロイド/ IOSの両方のように見えるようにしたい: http://i.stack.imgur.com/LWZ14.png スキュー20º水平 –