Returns or sets the current line width. The line width value specifies the diameter of a pen that is circular in user space, though device-space pen may be an ellipse in general due to scaling/shear/rotation of the current transformation matrix (CTM).

Returns or sets the compositing operator to be used for all drawing operations. See each one of the constants below for details on the semantics of each available compositing operator.

Adds a circular arc of the given Radius to the current path. The arc is centered at (XC, YC), begins at Angle and proceeds counter-clockwise during Length radians.

Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by Paint.Fill and according to the current fill rule (see Paint.FillRule).

Adds a line segment to the path from the current point to the beginning of the current sub-path, (the most recent point passed to Paint.MoveTo), and closes this sub-path. After this call the current point will be at the joined endpoint of the sub-path.

Adds a cubic Bézier spline to the path from the current point to position (X3, Y3) in user-space coordinates, using (X1, Y1) and (X2, Y2) as the control points. After this call the current point will be (X3, Y3).

Adds an elliptic arc to the current path. The ellipse is defined by its (X, Y, Width, Height) bounding-box, begins at Angle and proceeds counter-clockwise during Length radians.

Creates a new linear gradient brush along the line defined by (X0, Y0) and (X1, Y1), and using color stops defined by the Colors and Positions arguments.

Creates a new radial gradient paint brush that interpolates colors between a focal point ( FX , FY ) and end points on a circle defined by ( CX0 , CY0 , Radius0 ), and using color stops defined by the Colors and Positions arguments.

Reset the current clip region to its original, unrestricted state. That is, set the clip region to an infinitely large shape containing the target surface. Equivalently, if infinity is too hard to grasp, one can imagine the clip region being reset to the exact bounds of the target surface.

Modifies the current transformation matrix (CTM) by rotating the user-space axes by angle radians. The rotation of the axes takes places after any existing transformation of user space. The rotation direction for positive angles is from the positive X axis toward the positive Y axis.

Modifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by sx and sy respectively. The scaling of the axes takes place after any existing transformation of user space.