documentationfor yFiles for HTML 3.0.0.3

Fields

BOTTOMin StretchNodeLabelModelA predefined parameter that places the label on the bottom side of the node interior, stretching over the node's width.
CENTERin StretchNodeLabelModelA predefined parameter that places the label inside the node, filling the node's layout.
CENTER_HORIZONTALin StretchNodeLabelModelA predefined parameter that places the label at the vertical center with the preferred height of the label and the width of the node.
CENTER_VERTICALin StretchNodeLabelModelA predefined parameter that places the label at the horizontal center with the preferred width of the label and the height of the node.
LEFTin StretchNodeLabelModelA predefined parameter that places the label on the left side of the node interior, stretching over the node's height.
RIGHTin StretchNodeLabelModelA predefined parameter that places the label on the right side of the node interior, stretching over the node's height.
TOPin StretchNodeLabelModelA predefined parameter that places the label on the top side of the node interior, stretching over the node's width.

Method Return Values

createParameter (StretchNodeLabelModelPosition)in StretchNodeLabelModelCreates the parameter for the given position.