simpleboundslayout

simplelayoutと似ていますが、どうやら内包するコンテナの位置によって
違いが出るようです。

例えば↓のコードは「■◆■ ■◆■」と出るようなコードですが、
simplelayoutのレイアウトだと、図形の頂点の位置から図形のwidthまで
を整列しています。

simpleboundslayoutは回転させたら回転させた後のwidthで整列します。

<canvas height="100">
	<include href="utils/layouts/simpleboundslayout.lzx" />
		<view bgcolor="0x8A8A8A" x="10" y="10" >
		<view width="60" height="60" bgcolor="teal"/>
		<view width="60" height="60" bgcolor="blue" rotation="45" /> 
		<view width="60" height="60" bgcolor="teal"/>
		<simpleboundslayout axis='x' />
	</view >
	<view bgcolor="0x8A8A8A" x="250" y="10" >
		<view width="60" height="60" bgcolor="teal" />
		<view width="60" height="60" bgcolor="blue" rotation="45" /> 
		<view width="60" height="60" bgcolor="teal"/>
		<simplelayout axis='x' />
	</view >
</canvas>