Simple ellipse visual based on PolygonVisual
vispy.visuals.rectangle.
RectangleVisual
Bases: vispy.visuals.polygon.PolygonVisual
vispy.visuals.polygon.PolygonVisual
Displays a 2D rectangle with optional rounded corners
Center of the rectangle
The fill color to use.
The border color to use.
Border width in pixels. Line widths > 1px are only guaranteed to work when using border_method=’agg’ method.
Length of the rectangle along y-axis Defaults to 1.0
Length of the rectangle along x-axis Defaults to 1.0
Radii of curvatures of corners in clockwise order from top-left Defaults to 0.
Keyword arguments to pass to PolygonVisual.
center
The center of the ellipse
height
The height of the rectangle.
radius
The radius of curvature of rounded corners.
width
The width of the rectangle.