Skip to content

Mojo app view transformrectfromview

mojo:mojo.app.View.TransformRectFromView

Method TransformRectFromView:std.geom.Recti( rect:std.geom.Recti,view:View )#

Transforms a rect from another view.

Transform rect from coordinates local to view to coordinates local to this view.

Parameters
rect rect The rect to transform.
view view The view to transform rect from.