wx.lib.ogl.composit.ConstraintType¶
The ConstraintType class.
Class Hierarchy¶
Methods Summary¶
Default class constructor. |
Class API¶
- class ConstraintType(object)¶
The
ConstraintTypeclass.
Methods¶
- __init__(self, theType, theName, thePhrase)¶
Default class constructor.
- Parameters:
theType – one of the following ====================================== ================================ Constraint type Description ====================================== ================================
CONSTRAINT_CENTRED_VERTICALLYCentered verticallyCONSTRAINT_CENTRED_HORIZONTALLYCentered horizontallyCONSTRAINT_CENTRED_BOTHCentered in both directionsCONSTRAINT_LEFT_OFCenter left ofCONSTRAINT_RIGHT_OFCenter right ofCONSTRAINT_ABOVECenter aboveCONSTRAINT_BELOWCenter belowCONSTRAINT_ALIGNED_TOPAlign topCONSTRAINT_ALIGNED_BOTTOMAlign bottomCONSTRAINT_ALIGNED_LEFTAlign leftCONSTRAINT_ALIGNED_RIGHTAlign rightCONSTRAINT_MIDALIGNED_TOPMiddle align topCONSTRAINT_MIDALIGNED_BOTTOMMiddle align bottomCONSTRAINT_MIDALIGNED_LEFTMiddle align leftCONSTRAINT_MIDALIGNED_RIGHTMiddle align right ====================================== ================================theName – the name for the constraint
thePhrase – the descriptive phrase