Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGRectMBS class.

CGRectMBS.height as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 2.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The height property of the rectangle.
Example
dim r as CGRectMBS = CGMakeRectMBS(10, 20, 30, 40)
MsgBox str(r.Left)+" "+str(R.Top)+" "+str(R.Width)+" "+str(r.Height)

(Read and Write property)

CGRectMBS.left as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 2.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The left property of the rectangle.

(Read and Write property)

CGRectMBS.Origin as CGPointMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 2.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The origin of the rectangle.
Example
dim r as CGRectMBS = CGRectMBS.Make(5, 6, 3, 2)
dim s as CGPointMBS = r.Origin
MsgBox str(s.x)+" x "+str(s.y)

(Read and Write property)

CGRectMBS.Size as CGSizeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 2.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The size of the rectangle.
Example
dim r as CGRectMBS = CGRectMBS.Make(5, 6, 3, 2)
dim s as CGSizeMBS = r.Size
MsgBox str(s.Width)+" x "+str(s.Height)

(Read and Write property)

CGRectMBS.top as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 2.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The top property of the rectangle.
Example
dim r as CGRectMBS = CGMakeRectMBS(10, 20, 30, 40)
MsgBox str(r.Left)+" "+str(R.Top)+" "+str(R.Width)+" "+str(r.Height)

(Read and Write property)

CGRectMBS.width as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 2.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The width property of the rectangle.
Example
dim r as CGRectMBS = CGMakeRectMBS(10, 20, 30, 40)
MsgBox str(r.Left)+" "+str(R.Top)+" "+str(R.Width)+" "+str(r.Height)

(Read and Write property)

The items on this page are in the following plugins: MBS MacCG Plugin.


The biggest plugin in space...