/// <summary> /// Creates a new instance. /// </summary> public AnnotationLabelStyle() { delegateStyle = new ConnectedIconLabelStyle { IconStyle = leftAnnotationStyle, TextStyle = textStyle, TextPlacement = InteriorLabelModel.Center, ConnectorStyle = connectorStyle, LabelConnectorLocation = FreeNodePortLocationModel.NodeLeftAnchored, NodeConnectorLocation = FreeNodePortLocationModel.NodeCenterAnchored }; }
/// <summary> /// Creates a new instance. /// </summary> public ChoreographyMessageLabelStyle() { delegateStyle = new ConnectedIconLabelStyle { IconSize = BpmnConstants.MessageSize, IconStyle = messageStyle, TextStyle = textStyle, ConnectorStyle = connectorStyle, LabelConnectorLocation = FreeNodePortLocationModel.NodeBottomAnchored, NodeConnectorLocation = FreeNodePortLocationModel.NodeTopAnchored }; TextPlacement = defaultTextPlacement; }