Skip to content

Mojo app view transformrecttoview

mojo:mojo.app.View.TransformRectToView

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

Transforms a rect to another view.

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

Parameters
rect rect The rect to transform.
view view View to transform rect to.