Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGSTransitionRequestMBS class.

CGSTransitionRequestMBS.Blue as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Blue part of the backcolor.

Range is from 0.0 (no color) to 1.0 (full color).
(Read and Write property)

CGSTransitionRequestMBS.Green as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Green part of the backcolor.

Range is from 0.0 (no color) to 1.0 (full color).
(Read and Write property)

CGSTransitionRequestMBS.HasBackColor as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether the background on the transition has a color.
Example
dim r as CGSTransitionRequestMBS
dim co as CGSConnectionMBS // global property
dim ct as CGSTransitionMBS // global property

r=new CGSTransitionRequestMBS
r.TransitionType=r.CGSWarpSwitch
r.TransitionOption=r.CGSLeft
r.HasBackGround=true
r.HasBackColor=true
r.red=0 // all zero is black, all one is white
r.Blue=0
r.Green=0

ct=co.NewTransition(r)
if ct<>Nil then
window1.Refresh
ct.Invoke(2)
ct.Wait(2)
ct.Release
else
MsgBox "Error creating the transition."
end if

(Read and Write property)

Some examples using this property:

CGSTransitionRequestMBS.HasBackGround as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether you want to use the background or not.
Example
dim r as new CGSTransitionRequestMBS
r.HasBackGround=false // best for a window in place transition

If HasBackGround is true, a background is drawn behind the transition which may have a background color.
(Read and Write property)

Some examples using this property:

CGSTransitionRequestMBS.Red as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Red part of the backcolor.

Range is from 0.0 (no color) to 1.0 (full color).
(Read and Write property)

CGSTransitionRequestMBS.TransitionOption as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The transition options to use.
Example
dim r as CGSTransitionRequestMBS
r.TransitionOption=r.CGSLeft

One of the constants:
CGSDown= 0Old desktop moves down.
CGSLeft= 1Old desktop moves left.
CGSRight= 2Old desktop moves right.
CGSInRight= 3CGSSwap: Old desktop moves into screen, new comes from right.
CGSBottomLeft= 5 CGSSwap: Old desktop moves to bottom left, new comes from top right.
CGSBottomRight= 6Old desktop to bottom right, New from top left.
CGSDownTopRight= 7CGSSwap: Old desktop moves down, new from top right.
CGSUp= 8Old desktop moves up.
CGSTopLeft= 9Old desktop moves top left.
CGSTopRight= 10CGSSwap: old to top right. new from bottom left.
CGSUpBottomRight= 11CGSSwap: old desktop up, new from bottom right.
CGSInBottom= 12CGSSwap: old in, new from bottom.
CGSLeftBottomRight= 13CGSSwap: old one moves left, new from bottom right.
CGSRightBottomLeft= 14CGSSwap: old one moves right, new from bottom left.
CGSInBottomRight= 15CGSSwap: onl one in, new from bottom right.
CGSInOut= 16CGSSwap: old in, new out.
(Read and Write property)

Some examples using this property:

CGSTransitionRequestMBS.TransitionType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The transition to use.

One of the constants:
CGSNone= 0No transition effect.
CGSFade= 1Cross-fade.
CGSZoom= 2Zoom/fade towards us.
CGSReveal= 3Reveal new desktop under old.
CGSSlide= 4Slide old out and new in.
CGSWarpFade= 5Warp old and fade out revealing new.
CGSSwap= 6Swap desktops over graphically.
CGSCube= 7 The well-known cube effect.
CGSWarpSwitch= 8Warp old, switch and un-warp.
CGSFlip= 9The flip effect known from Dashboard
(Read and Write property)

Some examples using this property:

CGSTransitionRequestMBS.Win as CGSWindowMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The window to use for the transition.

Set to nil to do a full screen transition.
(Read and Write property)

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


The biggest plugin in space...