Any function that takes a Color argument will be passed a string instead.
Sets the stroke width of the stroke style.
Sets current stroke style to a solid color.
Sets current stroke style to a paint, which can be a one of the gradients or a pattern.
Sets current fill style to a solid color.
Sets current fill style to a paint, which can be a one of the gradients or a pattern.
Resets current transform to an identity matrix.
Translates current coordinate system.
Rotates current coordinate system. Angle is specified in radians.
Skews the current coordinate system along X axis. Angle is specified in radians.
Skews the current coordinate system along Y axis. Angle is specified in radians.
Scales the current coordinate system.
Creates and returns a linear gradient. Parameters (sx, sy) (ex, ey) specify the start and end coordinates of the linear gradient, icol specifies the start color and ocol the end color. The gradient is transformed by the current transform when it is passed to fillPaint or strokePaint.
Clears the current path and sub-paths.
Starts new sub-path with specified point as first point.
Adds line segment from the last point in the path to the specified point.
Closes current sub-path with a line segment.
Creates new rectangle shaped sub-path.
Creates new rounded rectangle shaped sub-path.
Creates new rounded rectangle shaped sub-path. Specify ellipse width and height to round corners according to it.
Fills the current path with current fill style.
Fills the current path with current stroke style.
Annotation to indicate the marked function is compatible with arsd.script.