Set Mode
Switch to a different drawing mode.
Changes what type of element is created on the next user interaction. For example, switching from Mode.PEN to Mode.RECTANGLE causes the next drag to create a rectangle instead of a path.
Switch to a different drawing mode.
Changes what type of element is created on the next user interaction. For example, switching from Mode.PEN to Mode.RECTANGLE causes the next drag to create a rectangle instead of a path.