API Documentation > CorelDRAW > 2025-v26 > EffectContour > IVGEffectContour
EffectContour.ColorAcceleration property
Gets or sets the Color Acceleration
Syntax:
Property Get ColorAcceleration() As Long
Property Let ColorAcceleration(ByVal Value As Long)
Remarks:
The ColorAcceleration property returns or specifies the rate of color aceleration in a contour effect. Higher numbers allow the colors to move more quickly through the spectrum as they approach the end object. You can change the progression of the outline and fill colors.
Examples:
The following VBA example creates a contour effect with non-uniform spacing and color transition.
Sub Test()
Dim s As Shape
Set s = ActiveLayer.CreateEllipse2(5.5, 4, 2)
s.Fill.UniformColor.RGBAssign 255, 0, 0
s.Outline.SetProperties 0.05, , CreateRGBColor(0, 255, 255)
With s.CreateContour(cdrContourOutside, 0.5, 5, , , CreateRGBColor(255, 255, 0)).Contour
  .LinkAcceleration = False
  .ColorAcceleration = 50
  .SpacingAcceleration = -50
End With 
End Sub