Scripting API

<<StopScript Main Index StrawWall>>
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

Straighten

Script Name: Straighten
Name: Straighten
Library: CmdBase2
Description: Rotates or straighten images.
Status bar text: Straighten Tool: Use to rotate or straighten images
Tool tip text: Straighten Tool
Undo text: Straighten
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Image rotation angleAngleRealSets the angle of rotation in degreesNo0.00.0359.9999
Crop ImageCropImageEnumeration (Boolean)Crops imageNoTrue
Reference Line CenterGuidelineCenterPointReference line center in arbitrary unitsNo(0.5,0.5)
Reference Line LengthGuidelineLengthRealReference line length divided by the sum of the image width and heightNo0.6-200000000000.0400000000000.0
Reference Line Rotation AngleGuidelineRotateAngleRealSets the angle of the reference line in degreesNo0.00.0359.99
Rotate All LayersRotateAllEnumeration (Boolean)Rotates all layersNoFalse
Rotate ModeRotateModeEnumeration (RotateMode)How to rotate an image: make the guide line vertical, make it horizontal or determine this automatically.NoAuto
Background Fill MaterialBackgroundMaterialParameter RepositoryThe material used for filling newly exposed areas of the background layerYes
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
 
Resource Attributes: