Scripting API

<<ReadWatermark Main Index RedEyeRemoval>>
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

RectangleTool

Script Name: RectangleTool
Name: RectangleTool
Library: ToolObject
Description: Draws rectangles and rounded rectangles.
Status bar text: Rectangle Tool: Draw rectangles and rounded rectangles
Tool tip text: Rectangle Tool
Undo text: Rectangle
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Start ModeRectangleStartModeIntegerRectangle tool start Mode. - Edit, Draw or KnifeNo113
Rectangle Tool Data Collection TypeRectangleDataCollectionModeIntegerRectangle Tool Data Collection Type.No002
Anti-aliasAntialiasEnumeration (Boolean)Antialias - Smooth the edge of the object.NoTrue
Miter LimitMiterLimitIntegerThe miter limit for the join style miter.No15130
Join StyleJoinEnumeration (JointStyle)The line join.NoMiter
Create on VectorCreateAsVectorEnumeration (Boolean)Create on vector layer.NoTrue
FillFillParameter RepositoryThe fill material.Yes
Line StyleLineStyleParameter RepositoryThe line style.Yes
Line WidthLineWidthRealThe stroke width.No1.00.0255.0
StrokeStrokeParameter RepositoryThe stroke material.Yes
Line Style IndexLineStyleIndexIntegerIndex of the line styleNo0012000
Show NodesSimpleRasterModeEnumeration (Boolean)Show Nodes.NoTrue
Show Nodes In Draw ModeShowNodesInDrawModeEnumeration (Boolean)Show Nodes In Draw Mode.NoFalse
Coordinate XLeftRealCoordinate XNo0.0-10000000.010000000.0
Coordinate YTopRealCoordinate YNo0.0-10000000.010000000.0
WidthWidthRealNo0.0-10000000.010000000.0
HeightHeightRealHeightNo0.0-10000000.010000000.0
X RadiusRadiusXRealX RadiusNo0.0-10000000.010000000.0
Y RadiusRadiusYRealY RadiusNo0.0-10000000.010000000.0
Styled Line CategoryStyledLineCategoryStringStyled Line Category SelectionNo
Styled Line ViewStyledLineViewEnumeration (ResourceListView)Styled Line View SelectionNoSmallThumbnails
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
NoRepeat: true
ProcessChanges: true
FinalizeTransient: true
 
Resource Attributes: