CGRectMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem