官术网_书友最值得收藏!

Coordinates and bounds

Let's look into determining Shape and Node bounds in Scene and Scenegraph.

The simplest of all are layoutBounds. These rectangular bounds are used for all size and location calculations for this Node, and describe its basic shape size. They don't include any extra effects or transformations. 

The next thing is boundsInLocal. These bounds include all information about effects. So, you can determine how large of an area is covered by your Node or Shape.

The last one is boundsInParent. These are bounds after all transformations as well and bounding rectangles uses their parents' coordinate system.

主站蜘蛛池模板: 政和县| 曲靖市| 鲁山县| 中西区| 古交市| 贵德县| 华蓥市| 建始县| 天全县| 沂源县| 民和| 牙克石市| 浑源县| 犍为县| 耒阳市| 肇东市| 金秀| 芒康县| 大庆市| 盖州市| 中宁县| 葵青区| 济宁市| 涿鹿县| 全州县| 嘉禾县| 屏南县| 镇宁| 荔浦县| 观塘区| 阳朔县| 石景山区| 十堰市| 安塞县| 格尔木市| 义乌市| 七台河市| 海安县| 扎鲁特旗| 乳山市| 屏东县|