The ToolProperties JavaScript global object. Controls the Tool Properties. More...
Public Slots | |
General options | |
void | setApplyAllArts (bool b) |
Sets the Apply to Line Art and Colour Art checkbox state to b; in the Select Tool Options. More... | |
int | getLineToolMode () |
Returns the line tool mode. 1: normal, 2: Quadratic, 3: Cubic. More... | |
void | setLineToolMode (int) |
Sets the line tool mode. 1: normal, 2: Quadratic, 3: Cubic. More... | |
void | setLineToolModeNormal () |
Shortcut for setLineToolMode(1) More... | |
void | setLineToolModeQuadratic () |
Shortcut for setLineToolMode(2) More... | |
void | setLineToolModeCubic () |
Shortcut for setLineToolMode(3) More... | |
Brush Options | |
void | setDrawBehindMode (bool b) |
Toggles the Draw Behind mode of the Brush tool. More... | |
void | setAutoCreateColourArt (bool b) |
Sets the auto create colour art mode of the current tool to b if applicable. More... | |
void | setAutoFlattenMode (bool b) |
Sets the auto flatten mode if applicable. More... | |
void | setRespectProtectedColourMode (bool b) |
Sets the Respect Protected Colour mode if applicable. More... | |
void | setDrawingMagnifierMode (bool b) |
Sets the magnifier mode. More... | |
Drawing selection | |
void | setMarkeeMode (bool b) |
Sets the select tool mode selection to Lasso or Marquee. If b is true, the mode will be set to Marquee. More... | |
void | setSnapping (bool contour, bool align, bool grid) |
Sets the snapping mode for the contour, align and grid mode all to the modes specified in argument. More... | |
void | setPermanentSelectionMode (bool b) |
Toggles the permanent selection mode. More... | |
void | setSelectByColourMode (bool b) |
Sets the select by colour mode of the Select tool . More... | |
Contour editor tool options | |
void | setShowHideAllContourEditingControls (bool b) |
Toggles whether contour editor shows all tool controls or not. More... | |
Transform tool options | |
void | setPegSelectionMode (bool b) |
Sets the selection mode of the transform tool to peg mode if b is true. More... | |
void | setTransformToolSnapping (bool align, bool grid) |
Sets the align and grid snapping modes of the transform tool. More... | |
void | setShowHideManipulatorControls (bool b) |
Hides the transform tool manipulator if b is true. More... | |
void | setDisablePivotControl (bool b) |
Disables the pivot Transform tool manipulator if b is true. A pivot control will still be displayed but will not be manipulatable. More... | |
paint options | |
void | setPaintAndRemoveTextureMode (bool b) |
Instruct the paint tool to remove the opacity texture if b is true. More... | |
void | setUsedStoredColourGradientMode (bool b) |
Instruct the paint tool to use the gradient/texture matrix stored in the tool if b is true. More... | |
void | setPaintToolShouldSelectPaintedZonesAfterPainting (bool b) |
If b is true, the paint tool will select the newly painted zone after painting. This can be useful if you want to edit a gradient on multiple zones after painting. More... | |
void | setApplyAllDrawings (bool b) |
Sets the apply all drawing mode to b. More... | |
void | setApplyAllVisibleDrawings (bool b) |
Sets the apply all visible drawing mode to b. More... | |
void | setAutogapClosingMode (int m) |
Sets the auto gap closing mode to m. Mode can be 0, 1, 2 or 3, which corresponds to No Gap, Small, Medium and Large. More... | |
Rect and ellipse options | |
void | setAutoFillInside (bool b) |
Sets the auto fill mode of Rectangle and Ellipse tools to b. More... | |
Cutter options | |
void | setGestureCutter (bool b) |
Set the cutter's gesture mode to b. More... | |
void | setMouseGestureBreakeMode (bool b) |
Set the cutter's gesture break mode to b. More... | |
ink options | |
void | setShowInkableLines (bool b) |
Shows the inkable lines if b is true. More... | |
void | setSmartInkLineConnectionMode (bool b) |
Sets the smart ink line connection mode to b. More... | |
void | setInkLineSelectionMode (bool b) |
Instructs the ink tool to select inked lines after inking if b is true. More... | |
void | setBringInkedLinesOnTop (bool b) |
Instructs the ink tool to bring inked lines on top after inking if b is true. More... | |
void | setInkJoinMode (String joinType) |
Sets the join mode of the inked lines to be joinType. Join type can be one of: "ROUND_JOIN", "MITER_JOIN" or "BEVEL_JOIN". More... | |
general option | |
void | setPencilTipMode (String pencilTip) |
Sets the pencil tip shape used by the eraser, cutter, and ink tools whenever an existing pencil line gets split by the tool. More... | |
line tool options | |
void | setLineAutoGapClosing (bool b) |
Toggles the auto gap closing functionality for the line and pencil tools. When the auto gap functionality is on, the line or pencil tool tries to add a stroke line to cover the gap between the newly created line and any existing line. More... | |
int | getAutoGapClosingMode () |
Gets the auto gap closing mode property. More... | |
bool | getSnapToContour () |
Gets the snap to contour property. More... | |
void | setSnapToContour (bool b) |
Sets the snap to contour property. More... | |
bool | getSnapToBoundingBoxes () |
Gets the snap to bounding boxes property. More... | |
void | setSnapToBoundingBoxes (bool b) |
Sets the snap to bounding boxes property. More... | |
bool | getSnapToGrid () |
Gets the snap to grid property. More... | |
void | setSnapToGrid (bool b) |
Sets the snap to grid property. More... | |
bool | getMergeWithTopLayer () |
Gets the merge with top layer property. More... | |
void | setMergeWithTopLayer (bool b) |
Sets the merge with top layer property. More... | |
bool | getAutoFlattenMode () |
Gets the auto flatten mode property. More... | |
bool | getRespectStickyColor () |
Gets the respect sticky color property. More... | |
bool | getPaintDestroyTexture () |
Gets the paint destroy texture property. More... | |
void | setPaintDestroyTexture (bool b) |
Sets the paint destroy texture property. More... | |
bool | getCreateColorArtOnBrush () |
Gets the create color art on brush property. More... | |
void | setCreateColorArtOnBrush (bool b) |
Sets create color art on brush property. More... | |
bool | getDrawBehind (String toolName) |
Gets the draw behind property of the given tool. More... | |
void | setDrawBehind (String toolName, bool b) |
Sets the draw behind property of the given tool. More... | |
int | getBrushMode () |
Gets the brush mode property. More... | |
void | setBrushMode (int mode) |
Sets the brush mode property. More... | |
bool | getShowOtherDrawingThumbnail () |
Gets the show other drawing thumbnail property. More... | |
void | setShowOtherDrawingThumbnail (bool b) |
Sets the show other drawing thumbnail property. More... | |
bool | getPreventDrawing () |
Gets the prevent drawing property. More... | |
void | setPreventDrawing (bool b) |
Sets the prevent drawing property. More... | |
bool | getPreventScenePlanning () |
Gets the prevent scene planning property. More... | |
void | setPreventScenePlanning (bool b) |
Sets the prevent scene planning property. More... | |
bool | getShowAllContourEditingControls () |
Gets the show all conotur editing controls property. More... | |
bool | getKeepProportions (String toolName) |
Gets keep proportions property of the given tool. More... | |
void | setKeepProportions (String toolName, bool b) |
Sets the keep proportions property of the given tool. More... | |
int | getPaintMode () |
Gets the paint mode property. More... | |
void | setPaintMode (int mode) |
Sets the paint mode property. More... | |
int | getBitmapPaintSourceArt () |
Gets the bitmap paint source art property. More... | |
void | setBitmapPaintSourceArt (int mode) |
Sets the bitmap paint source art property. More... | |
int | getBitmapPaintAlpha () |
Gets the bitmap paint alpha property. More... | |
void | setBitmapPaintAlpha (int value) |
Sets the bitmap paint alpha property. More... | |
int | getBitmapPaintColorTolerance () |
Gets the bitmap paint color tolerance property. More... | |
void | setBitmapPaintColorTolerance (int value) |
Sets the bitmap paint color tolerance property. More... | |
int | getBitmapPaintMaxOverlap () |
Gets the bitmap paint max overlap property. More... | |
void | setBitmapPaintMaxOverlap (int value) |
Sets the bitmap paint max overlap property. More... | |
bool | getLineMode (String toolName) |
Gets the line mode property of the given tool. More... | |
void | setLineMode (String toolName, bool b) |
Sets the line mode property of the given tool. More... | |
bool | getSnapMode (String toolName) |
Gets the snap mode property of the given tool. More... | |
void | setSnapMode (String toolName, bool b) |
Sets the snap mode property of the given tool. More... | |
bool | getPermanentSelectionMode () |
Gets the permanent selection mode property. More... | |
int | getElementMode () |
Gets the element mode property. More... | |
void | setElementMode (int mode) |
Sets the element mode property. More... | |
int | getPaintElementMode () |
Gets the paint element mode property. More... | |
void | setPaintElementMode (int mode) |
Sets paint element mode property. More... | |
int | getFrameMode () |
Gets the frame mode property. More... | |
void | setFrameMode (int mode) |
Sets the frame mode property. More... | |
int | getAntialiasingMode () |
Gets the antialiasing mode property. More... | |
void | setAntialiasingMode (int mode) |
Sets the antialiasing mode property. More... | |
bool | getApplyToAllLayers () |
Gets the apply to all layers property. More... | |
void | setApplyToAllLayers (bool b) |
Sets the apply to all layers property. More... | |
bool | getShowAdvancedControls () |
Gets the show advanced controls property. More... | |
void | setShowAdvancedControls (bool b) |
Sets the show advanced controls property. More... | |
bool | getAutoFillInside (String toolName) |
Gets the auto fill inside property of the given tool. More... | |
void | setAutoFillInside (String toolName, bool b) |
Sets the auto fill inside property of the given tool. More... | |
bool | getTrimExtraLines (String toolName) |
Gets the trim extra lines property of the given tool. More... | |
void | setTrimExtraLines (String toolName, bool b) |
Sets the trim extra lines property of the given tool. More... | |
bool | getTrimExtraLinesMatch (String toolName) |
Gets the trim extra lines match property of the given tool. More... | |
void | setTrimExtraLinesMatch (String toolName, bool b) |
Sets the trim extra lines match property of the given tool. More... | |
bool | getLockColor (String toolName) |
Gets the lock color property of the given tool. More... | |
void | setLockColor (String toolName, bool b) |
Sets the lock color property of the given tool. More... | |
bool | getZoomInMode () |
Gets the zoom in mode property. More... | |
void | setZoomInMode (bool b) |
Sets the zoom in mode property. More... | |
bool | getSelectByColor () |
Gets the select by color property. More... | |
void | setSelectByColor (bool b) |
Sets the select by color property. More... | |
bool | getSelectionIsLasso () |
Gets the selection is lasso property. More... | |
void | setSelectionIsLasso (bool b) |
Sets the selection is lasso property. More... | |
bool | getBoundingBoxMovable () |
Gets the bounding box movable property. More... | |
void | setBoundingBoxMovable (bool b) |
Sets the bounding box movable property. More... | |
bool | getChangeSymbolPivotOnAllFrames () |
Gets the change symbol pivot on all frames property. More... | |
void | setChangeSymbolPivotOnAllFrames (bool b) |
Sets the change symbol pivot on all frames property. More... | |
bool | getAutoGapLineClosing () |
Gets the auto gap line closing property. More... | |
void | setAutoGapLineClosing (bool b) |
Sets the auto gap line closing property. More... | |
int | getSelectionMode () |
Gets the selection mode property. More... | |
void | setSelectionMode (int mode) |
Sets the selection mode property. More... | |
int | getControlPointSelectionMode () |
Gets the control point selection mode property. More... | |
void | setControlPointSelectionMode (int mode) |
Sets the control point selection mode property. More... | |
int | getToolResolutionWidth () |
Gets the tool resolution width property. More... | |
void | setToolResolutionWidth (int width) |
Sets the tool resolution width property. More... | |
int | getToolResolutionHeight () |
Gets the tool resolution height property. More... | |
void | setToolResolutionHeight (int height) |
Sets the tool resolution height property. More... | |
bool | getHideManipulatorControls () |
Gets hide manipulator controls property. More... | |
void | setHideManipulatorControls (bool b) |
Sets the hide manipulator controls property. More... | |
bool | getHideTranslateManipulatorControls () |
Gets the hide translate manipulator controls property. More... | |
void | setHideTranslateManipulatorControls (bool b) |
Sets the hide translate manipulator controls property. More... | |
bool | getHideScaleManipulatorControls () |
Gets the hide scale manipulator controls property. More... | |
void | setHideScaleManipulatorControls (bool b) |
Sets the hide scale manipulator controls property. More... | |
bool | getHideRotateManipulatorControls () |
Gets the hide rotate manipulator controls property. More... | |
void | setHideRotateManipulatorControls (bool b) |
Sets the hide rotate manipulator controls property. More... | |
bool | getDisablePivotManipulatorControl () |
Gets the hide pivot manipulator controls property. More... | |
void | setDisablePivotManipulatorControl (bool b) |
Sets the hide pivot manipulator controls property. More... | |
bool | getSnapTo3DMode () |
Gets the snap to 3D mode property. More... | |
void | setSnapTo3DMode (bool b) |
Sets the snap to 3D mode property. More... | |
int | getSmoothSelector () |
Gets the smooth selector property. More... | |
void | setSmoothSelector (int mode) |
Sets the smooth selector property. More... | |
bool | getSmoothShowPoints () |
Gets the smooth show points property. More... | |
void | setSmoothShowPoints (bool b) |
Sets the smooth show points property. More... | |
bool | getCutEnableCutterGesture () |
Gets the enable cutter gesture property. More... | |
void | setCutEnableCutterGesture (bool b) |
Sets the enable cutter gesture property. More... | |
bool | getCutEnableBreakGesture () |
Gets the enable break gesture property. More... | |
void | setCutEnableBreakGesture (bool b) |
Sets the enable break gesture property. More... | |
double | getStrokeSmoothValue () |
Gets the stroke smooth value property. More... | |
void | setStrokeSmoothValue (double d) |
Sets the stroke smooth value property. More... | |
bool | getLockPenStyleWidth (String toolName) |
Gets the lock pen style width property of the given tool. More... | |
void | setLockPenStyleWidth (String toolName, bool b) |
Sets the lock pen style width property of the given tool. More... | |
bool | getLineBuildingMode () |
Gets the line building mode property. More... | |
void | setLineBuildingMode (bool b) |
Sets the line building mode property. More... | |
bool | getThicknessAdjustMode () |
Gets the thickness adjust mode property. More... | |
void | setThicknessAdjustMode (bool b) |
Sets the thickness adjust mode property. More... | |
bool | getLinePushingMode () |
Gets the line pushing mode property. More... | |
void | setLinePushingMode (bool b) |
Sets the line pushing mode property. More... | |
int | getTextFont () |
Gets the text font property. More... | |
void | setTextFont (int font) |
Sets the text font property. More... | |
int | getTextSize () |
Gets the text size property. More... | |
void | setTextSize (int size) |
Sets the text size property. More... | |
int | getTextStyle () |
Gets the text style property. More... | |
void | setTextStyle (int style) |
Sets the text style property. More... | |
int | getTextAlignment () |
Gets the text alignment property. More... | |
void | setTextAlignment (int alignment) |
Sets the text alignment property. More... | |
bool | getAutoKerning () |
Gets the text auto kerning property. More... | |
void | setAutoKerning (bool b) |
Sets the text auto kerning property. More... | |
int | getTextKerning () |
Gets the text kerning property. More... | |
void | setTextKerning (int kerning) |
Sets the text kerning property. More... | |
int | getTextIndent () |
Gets the text indent property. More... | |
void | setTextIndent (int indent) |
Sets the text indent property. More... | |
int | getTextLineSpace () |
Gets the text line space property. More... | |
void | setTextLineSpace (int lineSpace) |
Sets the text line space property. More... | |
bool | getRetraceMode () |
Gets the retrace mode property. More... | |
void | setRetraceMode (bool b) |
Sets the retrace mode property. More... | |
double | getRetraceOffsetMax () |
Gets the maximum retrace offset property. More... | |
void | setRetraceOffsetMax (double max) |
Sets the maximum retrace offset property. More... | |
double | getRetraceTiltMax () |
Gets the maximum retrace tilt property. More... | |
void | setRetraceTiltMax (double max) |
Sets the maximum retrace tilt property. More... | |
double | getRetraceProbability () |
Gets the retrace probability property. More... | |
void | setRetraceProbability (double probability) |
Sets the retrace probability property. More... | |
double | getRetraceNoiseMax () |
Gets the maximum retrace noise property. More... | |
void | setRetraceNoiseMax (double max) |
Sets the maximum retrace noise property. More... | |
double | getSmoothPenStyleMin () |
Gets the smooth pen style minimum property. More... | |
void | setSmoothPenStyleMin (double value) |
Sets the smooth pen style minimum property. More... | |
double | getSmoothPenStyleMinRatio () |
Gets the smooth pen style minimum ratio property. More... | |
void | setSmoothPenStyleMinRatio (double value) |
Sets the smooth pen style minimum ratio property. More... | |
double | getSmoothPenStyleMax () |
Gets the smooth pen style maximum property. More... | |
void | setSmoothPenStyleMax (double value) |
Sets the smooth pen style maximum property. More... | |
double | getSmoothPenStyleCenterSmooth () |
Gets the smooth pen style center smooth property. More... | |
void | setSmoothPenStyleCenterSmooth (double value) |
Sets the smooth pen style center smooth property. More... | |
bool | getDrawingMagnifier () |
Gets the drawing magnifier property. More... | |
void | setDrawingMagnifier (bool b) |
Sets the drawing magnifier property. More... | |
bool | getInkSelectionMode () |
Gets the ink selection mode property. More... | |
void | setInkSelectionMode (bool b) |
Sets the ink selection mode property. More... | |
bool | getInkIntelligentMode () |
Gets the ink intelligent mode property. More... | |
void | setInkIntelligentMode (bool b) |
Sets the ink intelligent mode property. More... | |
bool | getInkRaiseMode () |
Gets the ink raise mode property. More... | |
void | setInkRaiseMode (bool b) |
Sets the ink raise mode property. More... | |
bool | getInkShowInkableLines () |
Gets the show inkable lines property. More... | |
void | setInkShowInkableLines (bool b) |
Sets the show inkable lines property. More... | |
int | getInkJoinMode () |
Gets the ink join mode property. More... | |
void | setInkJoinMode (int mode) |
Sets the ink join mode property. More... | |
bool | getSelectAfterPaintOrInk () |
Gets the select after paint or ink property. More... | |
void | setSelectAfterPaintOrInk (bool b) |
Sets the select after paint or ink property. More... | |
int | getDrawingType () |
Gets the drawing type property. More... | |
void | setDrawingType (int mode) |
Sets the drawing type property. More... | |
int | getPerspectiveMode () |
Gets the perspective mode property. More... | |
void | setPerspectiveMode (int mode) |
Sets the perspective mode property. More... | |
int | getPencilTipMode (String toolName) |
Gets the pencil tip mode property of the given tool. More... | |
void | setPencilTipMode (String toolName, int mode) |
Sets the pencil tip mode property of the given tool. More... | |
QScriptValue | getAllGlobalProperties () |
Gets all of the global properties. More... | |
void | setGlobalProperties (QScriptValue newValues) |
Sets the global properties found in the parameter. More... | |
QScriptValue | getAllToolSpecificProperties (String toolName) |
Gets all of the specific properties of the given tool. More... | |
void | setAllToolSpecificProperties (String toolName, QScriptValue newValues) |
Sets the specific properties of the given tool. More... | |
QScriptValue | toolNames () |
Gets all of the available tools. More... | |
QScriptValue | getToolIdFromName (String toolName) |
The ToolProperties JavaScript global object. Controls the Tool Properties.
This object controls most of the tool properties that can be found on the Tool Properties Panel. The Tool Presets view must have been loaded for these function to be available.
|
slot |
Gets all of the global properties.
A global property is a tool property that is unique to a tool, or is set globally for all tools.
|
slot |
Gets all of the specific properties of the given tool.
toolName | : The tool to get the properties of. |
|
slot |
Gets the antialiasing mode property.
Possible values are: AntialiasingOff = 0 AntialiasingOn = 1
|
slot |
Gets the apply to all layers property.
|
slot |
Gets the auto fill inside property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the auto flatten mode property.
|
slot |
Gets the auto gap closing mode property.
Possible values are: NONE = 0 SMALL = 1 MEDIUM = 2 LARGE = 3
|
slot |
Gets the auto gap line closing property.
|
slot |
Gets the text auto kerning property.
|
slot |
Gets the bitmap paint alpha property.
|
slot |
Gets the bitmap paint color tolerance property.
|
slot |
Gets the bitmap paint max overlap property.
|
slot |
Gets the bitmap paint source art property.
Possible values are: BitmapPaintSourceUnderlayArt = 0 BitmapPaintSourceColorArt = 1 BitmapPaintSourceLineArt = 2 BitmapPaintSourceOverlayArt = 3 BitmapPaintSourceCurrentArt = 255
|
slot |
Gets the bounding box movable property.
|
slot |
Gets the brush mode property.
Possible values are: OverlayBrushMode = 0 RepaintBrushMode = 1
|
slot |
Gets the change symbol pivot on all frames property.
|
slot |
Gets the control point selection mode property.
Possible values are: Drawing = 0 ControlPoint = 1
|
slot |
Gets the create color art on brush property.
|
slot |
Gets the enable break gesture property.
|
slot |
Gets the enable cutter gesture property.
|
slot |
Gets the hide pivot manipulator controls property.
|
slot |
Gets the draw behind property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the drawing magnifier property.
|
slot |
Gets the drawing type property.
Possible values are: DrawingVector = 0 DrawingBitmap = 1
|
slot |
Gets the element mode property.
Possible values are: SelectedElements = 0 VisibleElements = 1 LinkedElements = 2
|
slot |
Gets the frame mode property.
Possible values are: CurrentFrame = 0 AllFrames = 1 OnionSkinFrames = 2
|
slot |
Gets hide manipulator controls property.
|
slot |
Gets the hide rotate manipulator controls property.
|
slot |
Gets the hide scale manipulator controls property.
|
slot |
Gets the hide translate manipulator controls property.
|
slot |
Gets the ink intelligent mode property.
|
slot |
Gets the ink join mode property.
Possible values are: UNDEFINED_JOIN = 0 ROUND_JOIN = 1 MITER_JOIN = 2 BEVEL_JOIN = 3
|
slot |
Gets the ink raise mode property.
|
slot |
Gets the ink selection mode property.
|
slot |
Gets the show inkable lines property.
|
slot |
Gets keep proportions property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the line building mode property.
|
slot |
Gets the line mode property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the line pushing mode property.
|
slot |
Returns the line tool mode. 1: normal, 2: Quadratic, 3: Cubic.
|
slot |
Gets the lock color property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the lock pen style width property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the merge with top layer property.
|
slot |
Gets the paint destroy texture property.
|
slot |
Gets the paint element mode property.
Possible values are: SelectedElements = 0 VisibleElements = 1 LinkedElements = 2
|
slot |
Gets the paint mode property.
Possible values are: PAINT = 0 UNPAINT = 1 REPAINT = 2 PAINT_UNPAINTED = 3
|
slot |
Gets the pencil tip mode property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the permanent selection mode property.
|
slot |
Gets the perspective mode property.
Possible values are: PerspectiveMode = 0 LatticeMode = 1
|
slot |
Gets the prevent drawing property.
|
slot |
Gets the prevent scene planning property.
|
slot |
Gets the respect sticky color property.
|
slot |
Gets the retrace mode property.
|
slot |
Gets the maximum retrace noise property.
|
slot |
Gets the maximum retrace offset property.
|
slot |
Gets the retrace probability property.
|
slot |
Gets the maximum retrace tilt property.
|
slot |
Gets the select after paint or ink property.
|
slot |
Gets the select by color property.
|
slot |
Gets the selection is lasso property.
Possible values are: Lasso mode = true Markee mode = false
|
slot |
Gets the selection mode property.
Possible values are: NORMAL_SELECTION = 0 ELEMENT_SELECTION = 1 PEG_SELECTION = 2 TOP_MOST_SELECTION = 3
|
slot |
Gets the show advanced controls property.
|
slot |
Gets the show all conotur editing controls property.
|
slot |
Gets the show other drawing thumbnail property.
|
slot |
Gets the smooth pen style center smooth property.
|
slot |
Gets the smooth pen style maximum property.
|
slot |
Gets the smooth pen style minimum property.
|
slot |
Gets the smooth pen style minimum ratio property.
|
slot |
Gets the smooth selector property.
Possible values are: SMOOTH_BRUSH = 0 SMOOTH_MARQUEE = 1 SMOOTH_LASSO = 2
|
slot |
Gets the smooth show points property.
|
slot |
Gets the snap mode property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the snap to 3D mode property.
|
slot |
Gets the snap to bounding boxes property.
|
slot |
Gets the snap to contour property.
|
slot |
Gets the snap to grid property.
|
slot |
Gets the stroke smooth value property.
|
slot |
Gets the text alignment property.
|
slot |
Gets the text font property.
|
slot |
Gets the text indent property.
|
slot |
Gets the text kerning property.
|
slot |
Gets the text line space property.
|
slot |
Gets the text size property.
|
slot |
Gets the text style property.
|
slot |
Gets the thickness adjust mode property.
|
slot |
|
slot |
Gets the tool resolution height property.
|
slot |
Gets the tool resolution width property.
|
slot |
Gets the trim extra lines property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the trim extra lines match property of the given tool.
toolName | : The tool to get the property of. |
|
slot |
Gets the zoom in mode property.
|
slot |
Sets the specific properties of the given tool.
toolName | : The tool to set the properties of. |
newValues | : An object storing the new values of all or some of the specified tool's properties. |
|
slot |
Sets the antialiasing mode property.
Possible values are: AntialiasingOff = 0 AntialiasingOn = 1
mode | : The value to set the antialiasing mode to. |
|
slot |
Sets the Apply to Line Art and Colour Art checkbox state to b; in the Select Tool Options.
b | : When true sets the Apply to Line Art and Colour Art checkbox state to checked. When false, unchecks it. |
|
slot |
Sets the apply all drawing mode to b.
b | : When true enables the apply all drawing mode. |
|
slot |
Sets the apply all visible drawing mode to b.
b | : When true enables the apply all visible drawing mode. |
|
slot |
Sets the apply to all layers property.
b | : The new apply to all layers flag. |
|
slot |
Sets the auto create colour art mode of the current tool to b if applicable.
b | : When true enables the auto create colour art mode of the current tool. When false disables it. |
|
slot |
Sets the auto fill mode of Rectangle and Ellipse tools to b.
b | : When true enables the auto fill mode of the Rectangle and Ellipse tools. |
|
slot |
Sets the auto fill inside property of the given tool.
toolName | : The tool to set the property of. |
b | : The new auto fill inside flag. |
|
slot |
Sets the auto flatten mode if applicable.
b | : When true enables the auto flatten mode if applicable. When false disables it. |
|
slot |
Sets the auto gap closing mode to m. Mode can be 0, 1, 2 or 3, which corresponds to No Gap, Small, Medium and Large.
m | : Sets the auto gap closing mode to 0, 1, 2 or 3, which corresponds to No Gap, Small, Medium and Large. |
|
slot |
Sets the auto gap line closing property.
b | : The new auto gap line closing flag. |
|
slot |
Sets the text auto kerning property.
b | : The new text auto kerning flag. |
|
slot |
Sets the bitmap paint alpha property.
value | : The new bitmap paint alpha value. |
|
slot |
Sets the bitmap paint color tolerance property.
value | : The new bitmap paint color tolerance value. |
|
slot |
Sets the bitmap paint max overlap property.
value | : The new bitmap paint max overlap value. |
|
slot |
Sets the bitmap paint source art property.
Possible values are: BitmapPaintSourceUnderlayArt = 0 BitmapPaintSourceColorArt = 1 BitmapPaintSourceLineArt = 2 BitmapPaintSourceOverlayArt = 3 BitmapPaintSourceCurrentArt = 255
mode | : The mode to set the bitmap paint source art to. |
|
slot |
Sets the bounding box movable property.
b | : The new bounding box movable flag. |
|
slot |
Instructs the ink tool to bring inked lines on top after inking if b is true.
b | : When true instructs the ink tool to bring inked lines on top after inking. |
|
slot |
Sets the brush mode property.
Possible values are: OverlayBrushMode = 0 RepaintBrushMode = 1
mode | : The value to set the stencil brush mode to. |
|
slot |
Sets the change symbol pivot on all frames property.
b | : The new change symbol pivot on all frames flag. |
|
slot |
Sets the control point selection mode property.
Possible values are: Drawing = 0 ControlPoint = 1
mode | : The value to set the control point selection mode to. |
|
slot |
Sets create color art on brush property.
b | : The create color art on brush flag. |
|
slot |
Sets the enable break gesture property.
b | : The new enable break gesture flag. |
|
slot |
Sets the enable cutter gesture property.
b | : The new enable cutter gesture flag. |
|
slot |
Disables the pivot Transform tool manipulator if b is true. A pivot control will still be displayed but will not be manipulatable.
b | : When true disables the pivot Transform tool manipulator. |
|
slot |
Sets the hide pivot manipulator controls property.
b | : The new hide pivot manipulator controls flag. |
|
slot |
Sets the draw behind property of the given tool.
toolName | : The tool to set the property of. |
b | : The new draw behind flag. |
|
slot |
Toggles the Draw Behind mode of the Brush tool.
b | : When true enables the Draw Behind mode of the Brush tool. When false, disables it. |
|
slot |
Sets the drawing magnifier property.
b | : The new drawing magnifier flag. |
|
slot |
Sets the magnifier mode.
b | : When true enables the magnifier mode. When false disables it. |
|
slot |
Sets the drawing type property.
Possible values are: DrawingVector = 0 DrawingBitmap = 1
mode | : The value to set the drawing type to. |
|
slot |
Sets the element mode property.
Possible values are: SelectedElements = 0 VisibleElements = 1 LinkedElements = 2
mode | : The value to set the element mode to. |
|
slot |
Sets the frame mode property.
Possible values are: CurrentFrame = 0 AllFrames = 1 OnionSkinFrames = 2
mode | : The value to set the frame mode to. |
|
slot |
Set the cutter's gesture mode to b.
b | : When true enables the cutter's gesture mode. |
|
slot |
Sets the global properties found in the parameter.
A global property is a tool property that is unique to a tool, or is set globally for all tools.
newValues | : An object storing all or some of the global properties to set new values of. |
|
slot |
Sets the hide manipulator controls property.
b | : The new hide manipulator controls flag. |
|
slot |
Sets the hide rotate manipulator controls property.
b | : The new hide rotate manipulator controls flag. |
|
slot |
Sets the hide scale manipulator controls property.
b | : The new hide scale manipulator controls flag. |
|
slot |
Sets the hide translate manipulator controls property.
b | : The new hide translate manipulator controls flag. |
|
slot |
Sets the ink intelligent mode property.
b | : The new ink intelligent mode. |
|
slot |
Sets the join mode of the inked lines to be joinType. Join type can be one of: "ROUND_JOIN", "MITER_JOIN" or "BEVEL_JOIN".
joinType | : Sets the join mode of the inked lines to be joinType. |
|
slot |
Sets the ink join mode property.
Possible values are: UNDEFINED_JOIN = 0 ROUND_JOIN = 1 MITER_JOIN = 2 BEVEL_JOIN = 3
mode | : The value to set the ink join mode to. |
|
slot |
Instructs the ink tool to select inked lines after inking if b is true.
b | : When true instructs the ink tool to select inked lines after inking. |
|
slot |
Sets the ink raise mode property.
b | : The new ink raise mode. |
|
slot |
Sets the ink selection mode property.
b | : The new ink selection mode. |
|
slot |
Sets the show inkable lines property.
b | : The new show inkable lines flag. |
|
slot |
Sets the keep proportions property of the given tool.
toolName | : The tool to set the property of. |
b | : The new keep proportions flag. |
|
slot |
Toggles the auto gap closing functionality for the line and pencil tools. When the auto gap functionality is on, the line or pencil tool tries to add a stroke line to cover the gap between the newly created line and any existing line.
b | : When true enables the auto gap closing functionality for the Line and Pencil tools. |
|
slot |
Sets the line building mode property.
b | : The new line building mode. |
|
slot |
Sets the line mode property of the given tool.
toolName | : The tool to set the property of. |
b | : The new line mode flag. |
|
slot |
Sets the line pushing mode property.
b | : The new line pushing mode. |
|
slot |
Sets the line tool mode. 1: normal, 2: Quadratic, 3: Cubic.
|
slot |
Shortcut for setLineToolMode(3)
|
slot |
Shortcut for setLineToolMode(1)
|
slot |
Shortcut for setLineToolMode(2)
|
slot |
Sets the lock color property of the given tool.
toolName | : The tool to set the property of. |
b | : The new lock color flag. |
|
slot |
Sets the lock pen style width property of the given tool.
toolName | : The tool to set the property of. |
b | : The new lock pen style width flag. |
|
slot |
Sets the select tool mode selection to Lasso or Marquee. If b is true, the mode will be set to Marquee.
b | : When true sets the selection mode to Marquee. When false sets the selection mode to Lasso. |
|
slot |
Sets the merge with top layer property.
b | : The new merge with top layer flag. |
|
slot |
Set the cutter's gesture break mode to b.
b | : When true enables the cutter's gesture break mode. |
|
slot |
Instruct the paint tool to remove the opacity texture if b is true.
b | : When true enables the remove texture when painting mode is turned on. |
|
slot |
Sets the paint destroy texture property.
b | : The new paint destroy texture flag. |
|
slot |
Sets paint element mode property.
Possible values are: SelectedElements = 0 VisibleElements = 1 LinkedElements = 2
mode | : The value to set the paint element mode to. |
|
slot |
Sets the paint mode property.
Possible values are: PAINT = 0 UNPAINT = 1 REPAINT = 2 PAINT_UNPAINTED = 3
mode | : The value to set the paint mode to. |
|
slot |
If b is true, the paint tool will select the newly painted zone after painting. This can be useful if you want to edit a gradient on multiple zones after painting.
b | : When true the paint tool will select the newly painted zone after painting. |
|
slot |
Sets the selection mode of the transform tool to peg mode if b is true.
b | : When true enables the selection mode of the transform tool to peg mode. |
|
slot |
Sets the pencil tip shape used by the eraser, cutter, and ink tools whenever an existing pencil line gets split by the tool.
pencilTip | : Can have one of the following values: "ROUND_TIP", "FLAT_TIP" or "BEVEL_TIP". |
|
slot |
Sets the pencil tip mode property of the given tool.
toolName | : The tool to set the property of. |
mode | : The new pencil tip mode. |
|
slot |
Toggles the permanent selection mode.
b | : When true enables the permanent selection mode. When false disables it. |
|
slot |
Sets the perspective mode property.
Possible values are: PerspectiveMode = 0 LatticeMode = 1
mode | : The value to set the perspective mode to. |
|
slot |
Sets the prevent drawing property.
b | : The new prevent drawing flag. |
|
slot |
Sets the prevent scene planning property.
b | : The new prevent drawing flag. |
|
slot |
Sets the Respect Protected Colour mode if applicable.
b | : When true enables the Respect Protected Colour mode. When false disables it. |
|
slot |
Sets the retrace mode property.
b | : The new retrace mode. |
|
slot |
Sets the maximum retrace noise property.
max | : The new maximum retrace noise value. |
|
slot |
Sets the maximum retrace offset property.
max | : The new maximum retrace offset value. |
|
slot |
Sets the retrace probability property.
probability | : The new retrace probability value. |
|
slot |
Sets the maximum retrace tilt property.
max | : The new maximum retrace tilt value. |
|
slot |
Sets the select after paint or ink property.
b | : The new select after paint or ink flag. |
|
slot |
Sets the select by color property.
b | : The new select by color flag. |
|
slot |
Sets the select by colour mode of the Select tool .
b | : When true enables the select by color mode of the Select tool. When false disables it. |
|
slot |
Sets the selection is lasso property.
Possible values are: Lasso mode = true Markee mode = false
b | : True to set the selection mode to lasso, false for markee. |
|
slot |
Sets the selection mode property.
Possible values are: NORMAL_SELECTION = 0 ELEMENT_SELECTION = 1 PEG_SELECTION = 2 TOP_MOST_SELECTION = 3
mode | : The value to set the selection mode to. |
|
slot |
Sets the show advanced controls property.
b | : The new show advanced controls flag. |
|
slot |
Toggles whether contour editor shows all tool controls or not.
b | : When true contour editer shows all tool controls. When false hides them. |
|
slot |
Hides the transform tool manipulator if b is true.
b | : When true hides the transform tool manipulator. |
|
slot |
Shows the inkable lines if b is true.
b | : When true shows the inkable lines. |
|
slot |
Sets the show other drawing thumbnail property.
b | : The new show other drawing thumbnail flag. |
|
slot |
Sets the smart ink line connection mode to b.
b | : When true enables the smart ink line connection mode. |
|
slot |
Sets the smooth pen style center smooth property.
value | : The new smooth pen style center smooth value. |
|
slot |
Sets the smooth pen style maximum property.
value | : The new smooth pen style maximum value. |
|
slot |
Sets the smooth pen style minimum property.
value | : The new smooth pen style minimum value. |
|
slot |
Sets the smooth pen style minimum ratio property.
value | : The new smooth pen style minimum ratio value. |
|
slot |
Sets the smooth selector property.
Possible values are: SMOOTH_BRUSH = 0 SMOOTH_MARQUEE = 1 SMOOTH_LASSO = 2
mode | : The value to set the smooth selector mode to. |
|
slot |
Sets the smooth show points property.
b | : The new smooth show points flag. |
|
slot |
Sets the snap mode property of the given tool.
toolName | : The tool to set the property of. |
b | : The new snap mode flag. |
|
slot |
Sets the snapping mode for the contour, align and grid mode all to the modes specified in argument.
contour | : When true enables the snapping mode for the contour mode. When false disables it. |
align | : When true enables the snapping mode for the align mode. When false disables it. |
grid | : When true enables the snapping mode for the grid mode. When false disables it. |
|
slot |
Sets the snap to 3D mode property.
b | : The new snap to 3D mode flag. |
|
slot |
Sets the snap to bounding boxes property.
b | : The new snap to bounding boxes flag. |
|
slot |
Sets the snap to contour property.
b | : The new snap to contour flag. |
|
slot |
Sets the snap to grid property.
b | : The new snap to grid flag. |
|
slot |
Sets the stroke smooth value property.
d | : The new stroke smooth value. |
|
slot |
Sets the text alignment property.
alignment | : The new text alignment. |
|
slot |
Sets the text font property.
font | : The new text font. |
|
slot |
Sets the text indent property.
indent | : The new text indent value. |
|
slot |
Sets the text kerning property.
kerning | : The new text kerning. |
|
slot |
Sets the text line space property.
lineSpace | : The new text line space value. |
|
slot |
Sets the text size property.
size | : The new text size. |
|
slot |
Sets the text style property.
style | : The new text style. |
|
slot |
Sets the thickness adjust mode property.
b | : The new thickness adjust mode. |
|
slot |
Sets the tool resolution height property.
height | : The new tool resolution height. |
|
slot |
Sets the tool resolution width property.
width | : The new tool resolution width. |
|
slot |
Sets the align and grid snapping modes of the transform tool.
align | : When true enables the align snapping mode of the transform tool. When false disables it. |
grid | : When true enables the grid snapping mode of the transform tool. When false disables it. |
|
slot |
Sets the trim extra lines property of the given tool.
toolName | : The tool to set the property of. |
b | : The new trim extra lines flag. |
|
slot |
Sets the trim extra lines match property of the given tool.
toolName | : The tool to set the property of. |
b | : The new trim extra lines match flag. |
|
slot |
Instruct the paint tool to use the gradient/texture matrix stored in the tool if b is true.
b | : When true the paint tool will use the gradient/texture matrix stores in the tool. |
|
slot |
Sets the zoom in mode property.
b | : The new zoom in mode flag. |
|
slot |
Gets all of the available tools.