//************************************************************************* // Constructor: LabelUserSettings() // /// <summary> /// Initializes a new instance of the LabelUserSettings class. /// </summary> //************************************************************************* public LabelUserSettings() { //*********** // Vertex //*********** m_oVertexFont = LabelUserSettingsTypeConverter.InvariantStringToFont( GeneralUserSettings.DefaultFont); m_oVertexLabelFillColor = Color.White; m_eVertexLabelPosition = VertexLabelPosition.BottomCenter; m_iVertexLabelMaximumLength = Int32.MaxValue; m_bVertexLabelWrapText = true; m_dVertexLabelWrapMaxTextWidth = 200; //*********** // Edge //*********** m_oEdgeFont = LabelUserSettingsTypeConverter.InvariantStringToFont( GeneralUserSettings.DefaultFont); m_oEdgeLabelTextColor = Color.Black; m_iEdgeLabelMaximumLength = Int32.MaxValue; //*********** // Group //*********** m_oGroupFont = LabelUserSettingsTypeConverter.InvariantStringToFont( GeneralUserSettings.DefaultGroupLabelFont); m_oGroupLabelTextColor = Color.Black; m_fGroupLabelTextAlpha = 86; m_eGroupLabelPosition = VertexLabelPosition.MiddleCenter; AssertValid(); }