Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CIFilterLinearGradientMBS class

Super class: CIFilterMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreImage MBS MacCG Plugin 17.4 Yes No No Yes, macOS only No
Function: The Realbasic class for the CoreImage Linear Gradient filter.
// create gradient
dim vektor1 as CIVectorMBS = CIVectorMBS.vectorWithXY(800,600)
dim vektor2 as CIVectorMBS = CIVectorMBS.vectorWithXY(0,0)

dim CiGradiantFilter as new CIFilterLinearGradientMBS
CiGradiantFilter.inputPoint0 = vektor1
CiGradiantFilter.inputPoint1 = vektor2
CiGradiantFilter.inputColor0 = CIColorMBS.colorWithRGB(1,1,1)
CiGradiantFilter.inputColor1 = CIColorMBS.colorWithRGB(1,0.5,0.3)

dim r as CIImageMBS = CiGradiantFilter.outputImage

Backdrop = r.RenderPicture(800, 600)
Details for this filter:

DisplayName English:Linear Gradient
DisplayName German:Linearer Verlauf
DisplayName French:Dégradé linéaire
DisplayName Italian:Gradiente lineare
DisplayName Spanish:Degradado lineal

  • CICategoryGradient: Gradient
  • CICategoryVideo: Video
  • CICategoryStillImage: Still Image
  • CICategoryBuiltIn: Built-In

  • inputPoint0: Point 0
  • inputPoint1: Point 1
  • inputColor0: Color 1
  • inputColor1: Color 2

  • outputImage
Subclass of the CIFilterMBS class.

Feedback, Comments & Corrections

Super class CIFilterMBS

This class has no sub classes.

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

CIFilterLinearDodgeBlendModeMBS   -   CIFilterLinearToSRGBToneCurveMBS

MBS Xojo PDF Plugins