Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.ApplyBlend


CorelScript.ApplyBlend

Function ApplyBlend(Steps As Boolean, NoOfStepsSpaces As Long, AngleOfRotation As Long, Loop As Boolean, PathObjectID As Long, FullPath As Boolean, RotateAll As Boolean, ColorWheelMode As Long, MapNodeStartObject As Long, MapNodeEndObject As Long, LinearBlend As Boolean, LinearSpacing As Boolean, LinkAccelerations As Boolean, AccelShapes As Boolean, BlendLogBase As Long, SpacingLogBase As Long, BlendID As Long, BlendType As Long, MapNodes As Boolean) As Long

Description

Member of CorelScript

The ApplyBlend method applies a blend to two selected objects.

Parameter
Description
Steps
Specifies how to calculate the blend. True (-1) sets the number of steps, while False (0) places the blend on a path by using fixed spacing.
NoOfStepsSpaces
Specifies the number of intermediate steps
AngleOfRotation
Specifies the rotation of the intermediate steps, in millionths of a degree — for example, 5000000 = 5 degrees
Loop
Specifies whether to loop. True (-1) enables looping, while False (0) disables it.
PathObjectID
Specifies the object ID of the path object. To determine the ID of an object, use the CorelScript.GetObjectsCDRStaticID method.
FullPath
Specifies whether to blend along the full path. True (-1) enables the full-path blending, while False (0) disables it.
RotateAll
Specifies whether to rotate all objects. True (-1) rotates all objects, while False (0) does not.
ColorWheelMode
Specifies the rotation:
 
0 = straight
 
1 = clockwise
 
2 = counterclockwise
MapNodeStartObject
Specifies a node on the start object to map to a specific node on the end object. The value can range from 0 (the first node) to the number of nodes minus 1.
MapNodeEndObject
Specifies a node on the end object to map to a specific node on the start object. The value can range from 0 (the first node) to the number of nodes minus 1.
LinearBlend
Specifies whether to rotate all objects. True (-1) rotates all objects, while False (0) does not.
LinearSpacing
Specifies whether to rotate all objects. True (-1) rotates all objects, while False (0) does not.
LinkAccelerations
Specifies whether to link the blend-acceleration options. True (-1) links the blend-acceleration options.
AccelShapes
Specifies whether to accelerate the change in size between the start and end objects. True (-1) accelerates the size change.
BlendLogBase
Specifies the rate of color acceleration
SpacingLogBase
Specifies the rate of spacing acceleration
BlendID
Is reserved for future use
MapNodesBlendType
Is reserved for future use

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.