Class Tool
Defines the tools available to use and their properties.
public class Tool
- Inheritance
-
Tool
- Inherited Members
Fields
Brush
public static Tool Brush
Field Value
EyeDropper
public static Tool EyeDropper
Field Value
Fill
public static Tool Fill
Field Value
GlobalEyeDropper
public static Tool GlobalEyeDropper
Field Value
Gradient
public static Tool Gradient
Field Value
IsoBox
public static Tool IsoBox
Field Value
Line
public static Tool Line
Field Value
Move
public static Tool Move
Field Value
None
public static Tool None
Field Value
Pencil
public static Tool Pencil
Field Value
Rubber
public static Tool Rubber
Field Value
Selection
public static Tool Selection
Field Value
Shape
public static Tool Shape
Field Value
canBeCancelled
public bool canBeCancelled
Field Value
tools
All implemented tools.
public static readonly Tool[] tools
Field Value
- Tool[]
Properties
finishMode
What action causes a use of the tool to be ended.
public MouseTargetDeselectMode finishMode { get; }
Property Value
name
public string name { get; }
Property Value
showBrushBorder
Whether the outline of the brush shape should be shown.
public bool showBrushBorder { get; }
Property Value
useMovementInterpolation
When the mouse position jumps between frames: true - the tool should be applied to each coord the mouse moved through; false - just applied to the ending coord.
public bool useMovementInterpolation { get; }
Property Value
Methods
StringToTool(string)
Gets the tool with that name.
public static Tool StringToTool(string toolName)
Parameters
toolName
string