Class WorkflowBpmnLabelStyleDefinition.Builder

    • Method Detail

      • bold

        public WorkflowBpmnLabelStyleDefinition.Builder bold​(boolean bold)
        Whether the label should be bold.
        Parameters:
        bold - true if the label should be bold, false otherwise.
        Returns:
        This builder for chaining method calls.
      • fontName

        public WorkflowBpmnLabelStyleDefinition.Builder fontName​(String fontName)
        Sets the font name for the label style. When not set, BPMN tools use some default font.
        Parameters:
        fontName - The name of the font to use, e.g. "Arial", "Times New Roman", etc.
        Returns:
        This builder for chaining method calls.
      • fontSize

        public WorkflowBpmnLabelStyleDefinition.Builder fontSize​(double fontSize)
        Sets the font size for the label style. The BPMN specification does not define an explicit unit for font size, though most tools use pixels, not points.
        Parameters:
        fontSize - The font size to use.
        Returns:
        This builder for chaining method calls.
      • italic

        public WorkflowBpmnLabelStyleDefinition.Builder italic​(boolean italic)
        Whether the label should be italic.
        Parameters:
        italic - true if the label should be italic, false otherwise.
        Returns:
        This builder for chaining method calls.
      • struckThrough

        public WorkflowBpmnLabelStyleDefinition.Builder struckThrough​(boolean struckThrough)
        Whether the label should be struck through.
        Parameters:
        struckThrough - true if the label should be struck through, false otherwise.
        Returns:
        This builder for chaining method calls.
      • underlined

        public WorkflowBpmnLabelStyleDefinition.Builder underlined​(boolean underlined)
        Whether the label should be underlined.
        Parameters:
        underlined - true if the label should be underlined, false otherwise.
        Returns:
        This builder for chaining method calls.