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

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

Solid rule.

public Rule(
    double xfrom,
    double yfrom,
    double xto,
    double yto,
    double weight,
    Color color
);
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.

See also ...

Rule.Members | Rule.Rule Constructor


Send comments on this topic
© Dyalog Ltd 2021