Bases: Line2D
A helper class that implements axline
, by recomputing the artist transform at draw time.
The first set of (x, y) coordinates for the line to pass through.
The second set of (x, y) coordinates for the line to pass through. Both xy2 and slope must be passed, but one of them must be None.
The slope of the line. Both xy2 and slope must be passed, but one of them must be None.
Draw the Artist (and its children) using the given renderer.
This has no effect if the artist is not visible (Artist.get_visible
returns False).
RendererBase
subclass.
Notes
This method is overridden in the Artist subclasses.
Return the slope value of the line.
Return the Transform
instance used by this artist.
Return the xy1 value of the line.
Return the xy2 value of the line.
Set multiple properties at once.
Supported properties are
Set the slope value of the line.
Note
You can only set slope if the line was created using the slope parameter. If the line was created using xy2, please use set_xy2
.
The slope of the line.
Set the xy1 value of the line.
Points for the line to pass through.
Set the xy2 value of the line.
Note
You can only set xy2 if the line was created using the xy2 parameter. If the line was created using slope, please use set_slope
.
Points for the line to pass through.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4