SharpLeaf Reference > SharpLeaf Methods > IncludeRule Method > (Double,Double,Alignment,Color,LineStyle)

SharpLeaf.IncludeRule Method (Double,Double,Alignment,Color,LineStyle)

Rule line across frame – unless at the top of a frame.

public bool IncludeRule(
    double weight,
    double length,
    Alignment alignment,
    Color color,
    LineStyle style
);
weight
Width of the ruled line in points (default to 1).
length
Length of the ruled line (positive is absolute size in points, negative is relative to current frame width) (defaults to ¯1 = frame width).
alignment
Horizontal alignment of the rule.
color
Color of the ruled line (defaults to Black).
style
.
return value
Whether a rule was actually drawn or not.

See also ...

SharpLeaf Members | SharpLeaf.IncludeRule Method


Send comments on this topic
© Dyalog Ltd 2021