private void CreateEventIcon() { eventIcon = IconFactory.CreateEvent(Characteristic, Background, Outline); eventIcon = IconFactory.CreatePlacedIcon(eventIcon, BpmnConstants.EventPlacement, MinimumSize); bool isFilled = Characteristic == EventCharacteristic.Throwing || Characteristic == EventCharacteristic.End; if (isFilled != fillTypeIcon) { fillTypeIcon = isFilled; CreateTypeIcon(); } }