Scripting API

<<PNGOptimizer Main Index PaintBrush>>
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

PageCurl

Script Name: PageCurl
Name: Page Curl
Library: CmdGeometry
Description: Applies a page curl effect to the image or selection.
Status bar text: Apply the page curl effect to the image
Tool tip text: Page Curl
Undo text: Page Curl
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Background ColorBackgroundColorColorThe color that is to be used to fill in revealed canvasNoRed 128
Blue 128
Green 128
Red 0
Blue 0
Green 0
Red 255
Blue 255
Green 255
Curl ColorCurlColorColorThe color to be used to paint the back of a curled layerNoRed 255
Blue 255
Green 255
Red 0
Blue 0
Green 0
Red 255
Blue 255
Green 255
CornerCornerIntegerThe corner of the image that is to be curled.No203
WidthWidthIntegerThe width of the rectangle that most closely surrounds the curl as a percentageNo801100
HeightHeightIntegerThe height of the rectangle that most closely surrounds the curl as a percentageNo601100
RadiusRadiusIntegerThe radius of the cylinder around which the image corner is curled as a percentageNo401100
Edge ModeEdgeModeEnumeration (EdgeMode)The method that is to be used to fill in revealed canvasNoBackground
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
ShowInEffectsBrowser: true
This command is safe for execution in a processing thread.: true
This command is safe for execution in a processing thread.: true
 
Resource Attributes:
HasWinPlacement: true
IsPreviewable: true
IsProofable: true
HelpID:32962
DlgHasPresets: true
DlgHasRandomize: true
IsEditable: true