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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.202.27