Scripting API

Parameter Description

<<NewDrawingObject Main Index NewLayerGroup>> NewFile 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 NewFile's parameter named Gradient:

NameScript NameType Description Supports None Default Minimum Maximum
NameNameStringName of the Material GradientYes
GradientTypeGradientTypeBooleanIndicates gradient type; linear, radial, rectangular, or angularNo0falsetrue
AngleAngleRealHolds angle for linear and angular gradientsNo0.00.0360.0
RepeatCountRepeatCountIntegerTimes to repeat drawing this gradientNo00999
RepeatTypeRepeatTypeBooleanDefines a gradient paintstyle repeat type; Pad, Reflect, or RepeatNo0falsetrue
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)
BooleanInvertBooleanDefines True and False to be one and zeroNo0falsetrue