Sketcher: expose the LabelDistance and LabelPosition members of Constraint to Python

This commit is contained in:
wmayer
2024-02-22 13:56:30 +01:00
committed by wwmayer
parent 8d8d47df70
commit 78ffa29629
6 changed files with 223 additions and 0 deletions

View File

@@ -822,6 +822,16 @@ Py::Float ConstraintPy::getValue() const
return Py::Float(this->getConstraintPtr()->getValue());
}
Py::Float ConstraintPy::getLabelDistance() const
{
return Py::Float(this->getConstraintPtr()->LabelDistance);
}
Py::Float ConstraintPy::getLabelPosition() const
{
return Py::Float(this->getConstraintPtr()->LabelPosition);
}
Py::Boolean ConstraintPy::getDriving() const
{
return Py::Boolean(this->getConstraintPtr()->isDriving);