SharpLeaf Reference > BoxStyle Structure > BoxStyle Constructor > (Double[],Color,LineStyle,Double,Color,FillStyle,Boolean)

BoxStyle Constructor (Double[],Color,LineStyle,Double,Color,FillStyle,Boolean)

Define boxing decorations.

public BoxStyle(
    double[] edgeWidths,
    Color edgeColor,
    LineStyle edgeStyle,
    double radius,
    Color fillColor,
    FillStyle fillStyle,
    bool shadow
);
edgeWidths
Edge line weights in points for all four sides {left,top,right,bottom} (a single value will be repeated) (default is 1).
edgeColor
Edge color (default is Black).
edgeStyle
Edge LineStyle (default is Solid).
radius
Radius of rounded corners (default is 0 for square) – unsupported if edgeWidths have different values.
fillColor
Background color (default is Transparent).
fillStyle
Background FillStyle (default is Unfilled).

See also ...

BoxStyle.Members | BoxStyle.BoxStyle Constructor


Send comments on this topic
© Dyalog Ltd 2021