## Uses of Class
org.apache.fop.traits.RuleStyle

- Packages that use RuleStyle
  Package | Description
  --- | ---
  org.apache.fop.render.afp | An AFP Renderer implementation and supporting classes.
  org.apache.fop.render.intermediate |
  org.apache.fop.render.java2d | Java2D Renderer which paints rendered pages on Graphics2D instances.
  org.apache.fop.render.pcl | PCL Renderer (Supports PCL5 and HP GL/2)
  org.apache.fop.render.pdf | PDF Renderer
  org.apache.fop.render.ps | PostScript Renderer
  org.apache.fop.traits | Trait classes and other supporting data structures.

- - ### Uses of RuleStyle in org.apache.fop.render.afp

    Methods in org.apache.fop.render.afp with parameters of type RuleStyle
    Modifier and Type | Method and Description
    --- | ---
    `void` | AFPPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line.

  - ### Uses of RuleStyle in org.apache.fop.render.intermediate

    Methods in org.apache.fop.render.intermediate with parameters of type RuleStyle
    Modifier and Type | Method and Description
    --- | ---
    `void` | GraphicsPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line/rule.
    `void` | IFPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line.
    `void` | AbstractIFPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line.
    `void` | IFSerializer.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line.

  - ### Uses of RuleStyle in org.apache.fop.render.java2d

    Methods in org.apache.fop.render.java2d with parameters of type RuleStyle
    Modifier and Type | Method and Description
    --- | ---
    `void` | Java2DPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line.

  - ### Uses of RuleStyle in org.apache.fop.render.pcl

    Methods in org.apache.fop.render.pcl with parameters of type RuleStyle
    Modifier and Type | Method and Description
    --- | ---
    `void` | PCLPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line.

  - ### Uses of RuleStyle in org.apache.fop.render.pdf

    Methods in org.apache.fop.render.pdf with parameters of type RuleStyle
    Modifier and Type | Method and Description
    --- | ---
    `void` | PDFPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line.
    `void` | PDFGraphicsPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line/rule.

  - ### Uses of RuleStyle in org.apache.fop.render.ps

    Methods in org.apache.fop.render.ps with parameters of type RuleStyle
    Modifier and Type | Method and Description
    --- | ---
    `void` | PSPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line.
    `void` | PSGraphicsPainter.`drawLine(Point start, Point end, int width, Color color, RuleStyle style)` Draws a line/rule.

  - ### Uses of RuleStyle in org.apache.fop.traits

    Fields in org.apache.fop.traits declared as RuleStyle
    Modifier and Type | Field and Description
    --- | ---
    `static RuleStyle` | RuleStyle.`DASHED` rule-style: dashed
    `static RuleStyle` | RuleStyle.`DOTTED` rule-style: dotted
    `static RuleStyle` | RuleStyle.`DOUBLE` rule-style: double
    `static RuleStyle` | RuleStyle.`GROOVE` rule-style: groove
    `static RuleStyle` | RuleStyle.`NONE` rule-style: none
    `static RuleStyle` | RuleStyle.`RIDGE` rule-style: ridge
    `static RuleStyle` | RuleStyle.`SOLID` rule-style: solid

    Methods in org.apache.fop.traits that return RuleStyle
    Modifier and Type | Method and Description
    --- | ---
    `static RuleStyle` | RuleStyle.`valueOf(int enumValue)` Returns the enumeration/singleton object based on its name.
    `static RuleStyle` | RuleStyle.`valueOf(String name)` Returns the enumeration/singleton object based on its name.

Copyright © 2025 Apache Software Foundation. All rights reserved.