Xojo.Core.Rect.Constructor(left As Double, top As Double, width As Double, height As Double)

From Xojo Documentation

Revision as of 17:44, 11 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructor

Xojo.Core.Rect.Constructor(left As Double, top As Double, width As Double, height As Double)

Creates a new Rect with the specified values.

Sample Code

Create a new Rect:

Var myRect As New Xojo.Core.Rect(10, 10, 100, 50)