Modifies the origin of the ellispse according to the specified mode: :center - specifies the location of the ellipse as the center of the shape. (Default). :radius - similar to center, but the width and height parameters to ellipse specify the radius of the ellipse, rather than the diameter. :corner - draws the shape from the upper-left corner of its bounding box. :corners - uses the four parameters to ellipse to set two opposing corners of the ellipse's bounding box.
Draws all geometry with jagged (aliased) edges. Must be called inside :settings handler.
Modifies the location from which rectangles draw. The default mode is :corner. Available modes are: :corner - Specifies the location to be the upper left corner of the shape and uses the third and fourth parameters of rect to specify the width and height. :corners - Uses the first and second parameters of rect to set the location of one corner and uses the third and fourth parameters to set the opposite corner. :center - Draws the image from its center point and uses the third and forth parameters of rect to specify the image's width and height. :radius - Draws the image from its center point and uses the third and forth parameters of rect() to specify half of the image's width and height.
Draws all geometry with smooth (anti-aliased) edges. This will slow down the frame rate of the application, but will enhance the visual refinement. Must be called inside :settings handler. The level parameter (int) increases the level of smoothness with the P2D and P3D renderers. This is the level of over sampling applied to the graphics buffer. The value '2' will double the rendering size before scaling it down to the display size. This is called '2x anti-aliasing.' The value 4 is used for 4x anti-aliasing and 8 is specified for 8x anti-aliasing. If level is set to 0, it will disable all smoothing; it's the equivalent of the function noSmooth(). The maximum anti-aliasing level is determined by the hardware of the machine that is running the software. Note that smooth will also improve image quality of resized images.
Sets the style for rendering line endings. These ends are either squared, extended, or rounded and specified with the corresponding parameters :square, :project, and :round. The default cap is :round.
Sets the style of the joints which connect line segments. These joints are either mitered, beveled, or rounded and specified with the corresponding parameters :miter, :bevel, and :round. The default joint is :miter. This function is not available with the :p2d, :p3d, or :opengl renderers.
Sets the width of the stroke used for lines, points, and the border around shapes. All widths are set in units of pixels.