Scripting API

Parameter Description

<<ChalkTool Main Index Charcoal>> ChangeToTarget Back
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

This is the description of the command ChangeToTarget's parameter named Gradient:

NameScript NameType Description Supports None Default Minimum Maximum
NameNameStringName of the Material GradientYes
GradientTypeGradientTypeEnumeration (Gradient)Indicates gradient type; linear, radial, rectangular, or angularNoLinear
AngleAngleRealHolds angle for linear and angular gradientsNo0.00.0360.0
RepeatCountRepeatCountIntegerTimes to repeat drawing this gradientNo00999
RepeatTypeRepeatTypeEnumeration (RepeatType)Defines a gradient paintstyle repeat type; Pad, Reflect, or RepeatNoPad
ColorStopsColorStopsListList of color stopsYes0
TransparencyStopsTransparencyStopsListList of transparency stopsNo0
CenterPointCenterPointPointCenter point of radial, rectangular or angular gradientsYes(0.0,0.0)
FocalPointFocalPointPointFocal point of radial, rectangular or angular gradientsYes(0.0,0.0)
BooleanInvertEnumeration (Boolean)Defines True and False to be one and zeroNoFalse