SharpLeaf Reference > Rule : PageElement Class > Rule Constructor > (Double,Double,Double,Double,Double,Color,LineStyle)

Rule Constructor (Double,Double,Double,Double,Double,Color,LineStyle)

Create a fixed rule across document.

public Rule(
    double xfrom,
    double yfrom,
    double xto,
    double yto,
    double weight,
    Color color,
    LineStyle style
);
xfrom
Coordinates of line in points (positive from top/left of paper, negative from bottom/right).
yfrom
Coordinates of line in points (positive from top/left of paper, negative from bottom/right).
xto
Coordinates of line in points (positive from top/left of paper, negative from bottom/right).
yto
Coordinates of line in points (positive from top/left of paper, negative from bottom/right).
weight
Line width.
color
Line color.
style
Line style.

See also ...

Rule.Members | Rule.Rule Constructor


Send comments on this topic
© Dyalog Ltd 2021