The wx.RectangleShape
class has rounded or square corners.
wx.lib.ogl.basic.ControlPoint
, wx.lib.ogl.basic.TextShape
, wx.lib.ogl.bmpshape.BitmapShape
, wx.lib.ogl.composit.CompositeShape
, wx.lib.ogl.divided.DividedShape
, wx.lib.ogl.drawn.DrawnShape
, wx.lib.ogl.lines.LabelShape
Default class constructor |
|
Get the bounding box minimum. |
|
Get the radius of the rectangle’s rounded corners. |
|
Get the height. |
|
Get the perimeter point. |
|
Get the width. |
|
The draw handler. |
|
Set the radius of the rectangle’s rounded corners. |
|
Set the height. |
|
Set the size. |
|
Set the width. |
The wx.RectangleShape
class has rounded or square corners.
Default class constructor
w (float) – the width
h (float) – the height
Get the bounding box minimum.
Get the radius of the rectangle’s rounded corners.
Get the height.
Get the perimeter point.
x1 – ???
y1 – ???
x2 – ???
y2 – ???
Get the width.
The draw handler.
Set the radius of the rectangle’s rounded corners.
rad – 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.
Set the height.
h – height to be set
Set the size.
x – the width
y – the height
recursive – not used
Set the width.
w – width to be set