A wxgraphicarc object represents an arc that can be drawn on an appropriate container. The arc has an optional border, border width and border color together with a fill color.
| Property | Type | Description |
|---|---|---|
| _ | type(*) | This property is provided for use by the user to attach any object of any type to the type in which this property is provided. |
| __ | type(*) | This property is provided for use by the user to attach any object of any type to the type in which this property is provided. It has the additional feature of being marked with the resolve keyword, so that object resolution can continue down this property. |
| borderrgb | rgb | Gives the color of the arc's border. |
| bordervisible | boolean | Specifies whether or not the border is visible. |
| borderwidth | integer | Gives the width of the border, in pixels. |
| container | type(wxgraphiccontainer) | Specifies the object to which this graphic belongs. |
| midpoint | fixedpoint | Gives the position of the midpoint of the arc. |
| name | string | The name of the wxgraphicarc object. |
| next | type(wxgraphic) |
Specifies the next wxgraphic on the same
container.
|
| point1 | fixedpoint | Gives the position of the first point of the arc. |
| point2 | fixedpoint | Gives the position of the second point of the arc. |
| rgb | rgb | Gives the fill color of the arc. |
| type | type | Specifies the wxgraphicarc type object. |
| visible | boolean | Specifies whether or not the content is visible. |
Removes the graphic from the container. If any object has a reference to the graphic, those references will no longer be valid. It is not safe to attempt to use a graphic after this method has been called.
Sets the name of the ellipse control. The wxgraphicarc object itself is returned, to allow multiple setting methods to be put into one expression.
| Parameter | Default value | Type name | Description |
|---|---|---|---|
| next | None | type(wxgraphic) |
Calling the method with the value .nul sets a
graphic to be the last one in the ring (the one before
container.firstgraphic) and so has the highest z-order, and
passing any other graphic as the argument puts the target graphic
immediately below the one specified as the parameter. The visible
stacking of graphics on a container is such that the earliest in
the ring is the furthest back in the z-order.
|
Sets the size and/or position of the graphic. The wxgraphicarc object itself is returned, to allow multiple setting methods to be put into one expression. Not all parameters are available to all wxgraphic objects. It is recommended to name the parameters when using this method.
wxgraphicarcvar.setposition (
point ,
point point1,
point point2,
point point3,
integer midpoint,
integer width )
borderwidth
| Parameter | Default value | Type name | Description |
|---|---|---|---|
| point1 | The current value of the point1
property | point | The new position of the starting point of the graphic. |
| point2 | The current value of the point2
property | point | The new position of the second point of the graphic. |
| point3 | The current value of the point3
property | point | The new position of the third point of the graphic. |
| midpoint | The current value of the midpoint
property | point | The new position of the midpoint of the graphic. |
| width | The current value of the width
property | integer | The new width of the graphic. |
| borderwidth | The current value of the borderwidth
property | integer | The new width of the border of the graphic. |
Sets the color and border color of the graphic. The wxgraphicarc object itself is returned, to allow multiple setting methods to be put into one expression.
| Parameter | Default value | Type name | Description |
|---|---|---|---|
| rgb | The current value of the rgb property | integer | The new color of the graphic. It is inadvisable to specify any value for this argument that is not the value of an existing rgb object. |
| borderrgb | The current value of the borderrgb property | integer | The new border color of the graphic. It is inadvisable to specify any value for this argument that is not the value of an existing rgb object. |
Sets the visibility of the graphic. The wxgraphicarc object itself is returned, to allow multiple setting methods to be put into one expression.



