radius (int or float) — distance of your network, counted on the center parameter, absolutely nothing would-be pulled in case your distance is below step one
draw_top_correct (bool) — (optional) should this be set to Genuine then the top best corner of your own community was pulled
draw_top_remaining (bool) — (optional) if this is set-to True then your most readily useful remaining corner of your own network was pulled
Drawing dense contours with sharp corners may have undesired lookin efficiency
draw_bottom_leftover (bool) — (optional) if this is set-to Real then the bottom kept corner of the community could be pulled
a rect bounding the fresh changed pixels, if the nothing is removed the fresh new bounding rect’s standing could be the heart parameter worth (float opinions would-be truncated) as well as width and you may height might be 0
Changed during the pygame 2.0.0: Additional support to have search term objections. There is nothing drawn if distance try 0 (a great pixel at the center coordinates was previously taken when the fresh new distance equaled 0). The brand new drawing formula is actually enhanced to appear similar to a group.
rect (Rect) — rectangle to point the positioning and you will proportions of the fresh new ellipse, the ellipse would-be founded during the rectangle and bounded of the they
(optional) employed for line occurrence or to imply that the fresh new ellipse try becoming filled (never to be confused with the brand new width property value the brand new rect parameter)
When using width thinking > step 1 , the brand new border traces will grow inwards regarding the totally new edge of rect parameter.
a rect bounding the latest altered pixels, when the nothing is taken the fresh bounding rect’s updates may be the condition of your own considering rect factor and its thickness and you may height would be 0
There are not any endcaps or miter bones
The two perspective arguments are provided in radians and you can mean the fresh new begin and avoid positions of arch. The fresh new arc is actually consumed in a beneficial counterclockwise recommendations from the beginning_perspective on avoid_position .
rect (Rect) — rectangle to point the career and you can proportions of the brand new ellipse which this new arc depends for the, the newest ellipse might be dependent during the rectangle
While using thickness values > step one , this new boundary contours simply develop inward regarding completely new border of your rect factor.
good rect bounding the newest changed pixels, in the event that there is nothing drawn the bounding rect’s status will be the position of your own given rect parameter as well as width and you can level will be 0
Draws a straight-line towards provided skin. There are no endcaps. Getting dense outlines the newest ends is actually squared regarding.
For even width opinions, the occurrence each and every range grows toward unique line are offset about cardiovascular system (because there isn’t any direct cardio range taken). Because of this, outlines which have a slope = step 1 (vertical-ish) can get 1 a great deal more eko randki pixel from thickness to the right out-of the initial line (regarding x recommendations).
a rect bounding the fresh changed pixels, if the there is nothing removed the fresh new bounding rect’s condition will be the start_pos factor value (float values might be truncated) and its particular thickness and you may top could be 0
signed (bool) — in the event the Real a supplementary range sector try drawn amongst the first and history products on the situations succession
affairs (tuple(coordinate) or checklist(coordinate)) — a sequence regarding 2 or more (x, y) coordinates, where each complement about sequence must be an excellent tuple/list/ pygame.math.Vector2 a two-Dimensional Vector away from 2 ints/drifts and you will surrounding coordinates would-be connected by a column part, e.grams. on the factors [(x1, y1), (x2, y2), (x3, y3)] a column portion was drawn off (x1, y1) to help you (x2, y2) and out-of (x2, y2) to (x3, y3) , likewise should your signed factor is valid various other line section tend to end up being taken of (x3, y3) in order to (x1, y1)