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

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

Black solid rule.

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

See also ...

Rule.Members | Rule.Rule Constructor


Send comments on this topic
© Dyalog Ltd 2021