[英]Resizing a child canvas in Flex
我正在試圖弄清楚如何調整兒童畫布的尺寸,但我無法弄明白。
我在這樣的父畫布周圍有一堆迷你畫布:
<mx:Canvas width="10" height="10" backgroundColor="#040404" top="0" left="0" id="anchorTL" />
<mx:Canvas width="10" height="10" backgroundColor="#040404" right="0" top="0" id="anchorTR" />
<mx:Canvas width="10" height="10" backgroundColor="#040404" horizontalCenter="0" top="0" id="anchorTM" />
<mx:Canvas width="10" height="10" backgroundColor="#040404" verticalCenter="0" left="0" id="anchorML" />
<mx:Canvas width="10" height="10" backgroundColor="#040404" left="0" bottom="0" id="anchorBL" />
<mx:Canvas width="10" height="10" backgroundColor="#040404" horizontalCenter="0" bottom="0" id="anchorBM" />
<mx:Canvas width="10" height="10" backgroundColor="#040404" bottom="0" right="0" id="anchorBR" />
<mx:Canvas width="10" height="10" backgroundColor="#040404" right="0" verticalCenter="0" id="anchorMR" />
每種類型的調整大小一個(左上角,右下角等)
如何在點擊並按住時調整畫布大小?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.