The wxRectangleShape has rounded or square corners.
lib.ogl._basic.ControlPoint, lib.ogl._basic.TextShape, lib.ogl._bmpshape.BitmapShape, lib.ogl._composit.CompositeShape, lib.ogl._divided.DividedShape, lib.ogl._drawn.DrawnShape, lib.ogl._lines.LabelShape
__init__ | |
GetBoundingBoxMin | |
GetCornerRadius | Get the radius of the rectangle’s rounded corners. |
GetHeight | |
GetPerimeterPoint | |
GetWidth | |
OnDraw | |
SetCornerRadius | Set the radius of the rectangle’s rounded corners. |
SetHeight | |
SetSize | |
SetWidth |
The wxRectangleShape has rounded or square corners.
Get the radius of the rectangle’s rounded corners.
Set the radius of the rectangle’s rounded corners.
If the radius is zero, a non-rounded rectangle will be drawn. If the radius is negative, the value is the proportion of the smaller dimension of the rectangle.