PyANGKernel.GKCircle¶
- class GKCircle¶
A 2D Circle. * * A
GKCirclerepresents a circle with a radius (expressed in meters), and is drawn with a fill and an outline. * - The outline is drawn using the penStyle, penColor, penSize and penSizeUnits properties. * - The fill is drawn using the brushStyle and brushColor properties.Synopsis¶
Methods¶
def
__init__()def
getBrushColor()def
getBrushStyle()def
getPenColor()def
getPenSize()def
getPenStyle()def
getRadius()def
setBrushColor()def
setBrushStyle()def
setPenColor()def
setPenSize()def
setPenStyle()
Virtual methods¶
def
setRadius()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
Constructor. Default values: - penStyle: solid line - penColor: black - penSize: 1.0 - penSizeUnits:
ePixels- brushStyle: NoBrush - brushColor: black - radius: 1.0Gets the circle’s brushColor.
- getBrushStyle()¶
- Return type:
Gets the circle’s brushStyle.
Gets the circle’s penColor.
Gets the circle’s penSize.
Gets the circle’s penSizeUnits.
Gets the circle’s penStyle.
Gets the circle’s radius (in meters).
Sets the circle’s brushColor.
- setBrushStyle(astyle)¶
- Parameters:
astyle –
BrushStyle
Sets the circle’s brushStyle.
Sets the circle’s penColor.
- setPenSize(size)¶
- Parameters:
size – float
Sets the circle’s penSize.
Sets the circle’s penSizeUnits.
Sets the circle’s penStyle.
- setRadius(r)¶
- Parameters:
r – float
Sets the circle’s radius (in meters).