PyANGKernel.GKPolylineCutCmd¶
- class GKPolylineCutCmd¶
-
Inherited by:
GKBezierCurveCutCmd,GKSectionCutCmdSynopsis¶
Methods¶
def
__init__()def
getLeftPoly()def
getRightPoly()def
setCut()
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
Detailed Description¶
With this command you can split a polyline in two, given a line segment defined by two points.
- __init__()¶
- getLeftPoly()¶
- Return type:
It will return the resulting polyline from the beginning of the original polyline to the cut point
- getRightPoly()¶
- Return type:
It will return the resulting polyline from the cut point to the end of the original polyline
Sets the cutting point for the polyline