returns a constraint that matches this one on the width attributes , but has no height constraint . concode_field_sep LengthConstraintType widthConstraintType concode_elem_sep Range widthRange concode_elem_sep double width concode_elem_sep RectangleConstraint NONE concode_elem_sep Range heightRange concode_elem_sep double height concode_elem_sep LengthConstraintType heightConstraintType concode_field_sep RectangleConstraint toFixedHeight concode_elem_sep RectangleConstraint toRangeHeight concode_elem_sep Range getWidthRange concode_elem_sep double getWidth concode_elem_sep Size2D calculateConstrainedSize concode_elem_sep RectangleConstraint toUnconstrainedWidth concode_elem_sep Range getHeightRange concode_elem_sep RectangleConstraint toRangeWidth concode_elem_sep double getHeight concode_elem_sep LengthConstraintType getHeightConstraintType concode_elem_sep LengthConstraintType getWidthConstraintType concode_elem_sep String toString concode_elem_sep RectangleConstraint toFixedWidth
RectangleConstraint function ( ) { if ( this . heightConstraintType == LengthConstraintType . NONE ) { return this ; } else { return new RectangleConstraint ( this . width , this . widthRange , this . widthConstraintType , 0.0 , this . heightRange , LengthConstraintType . NONE ) ; } }